03-02-2014, 04:27 PM | #1 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
Der Spiegel (access to paid content) recipe failing
Hiho! :-)
Starting a week ago, the recipe mentioned in the topic started failing with: Quote:
Does anyone have an idea what might be wrong? Thanks in advance! Regard, sheep2045 |
|
03-02-2014, 10:24 PM | #2 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You appear to be using a custom recipe, make sure you are using the builtin one.
|
Advert | |
|
03-03-2014, 12:43 AM | #3 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
Thanks for the quick reply; the problem with the builtin recipe is that it doesn't support downloading paid content, only the articles freely available (which are vastly inferior).
I was hoping someone else was using the custom recipe (I don't think there is another one) and could shed some light on what's going wrong. Judging by your last posts regarding the topic spiegel.de and recipes, they probably changed something on their website... Regards, Marc |
03-03-2014, 12:49 AM | #4 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Looking at the builtin recipe, it appears to have a login, so it should be downloading full content, but as I haven't written that recipe, I cannot be sure.
|
03-04-2014, 12:25 PM | #5 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2014
Device: Sony PRS-T3
|
Hi!
I have the same problem with the builtin recipe for "Der Spiegel". It worked perfectly until about 10 days ago. @Sheep2045 Just to clarify: The built in recipe did/does provide access to the paid content. Could it be that you refer to the Spiegel Online Recipe? @kovidgoyal How did you know that Sheep2045 was using a custom recipe? Because of the "Using custom recipe" in the log? I also get this. Gustav |
Advert | |
|
03-04-2014, 12:41 PM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
Yeah, I somehow copied the builtin "Der Spiegel" recipe to custom recipes. I just deleted it and tried the builtin, which fails in exactly the same way.
@Gustav M.: as written above, I got confused due to me having copied the builtin to custom recipes. I was referring to the builtin that provides access to paid content. Last edited by Sheep2045; 03-04-2014 at 12:50 PM. |
03-04-2014, 01:33 PM | #7 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2014
Device: Sony PRS-T3
|
Hi,
I just tried to contact the author of the recipe. Let's hope he can help! If you are using a Kindle, have you tried https://abo.spiegel.de/de/c/kindle It says "reine Textversion", so it is probably not the same, but perhaps it will serve as a temporary solution for you. Gustav |
03-04-2014, 02:07 PM | #8 |
Enthusiast
Posts: 43
Karma: 136
Join Date: Mar 2011
Device: Kindle Paperwhite
|
Hi Gustav, Hi everyone,
sorry, I didn't see this thread any earlier. I actually don't have an account anymore for Der Spiegel. I created the original recipe when there was a 2 week test period, and somebody here gave me their account (password temporary changed) to fix some issues. I took a quick look without an account. What's obviously broken is the masthead URL. Before posting the completely fixed recipe I would like somebody to test the change here first or be so kind and give me temporarily their account information. To test it out, customize the built in recipe and replace the masthead_url with 'http://upload.wikimedia.org/wikipedia/de/thumb/3/3e/Logo-der_spiegel.svg/200px-Logo-der_spiegel.svg.png' This at least gets rid of the 404 error. Cheers, aero |
03-04-2014, 02:30 PM | #9 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
Hi aerodynamik,
thanks for your quick response! :-) I just tried replacing the masthead url, but that unfortunately does not change anything regarding the 404 error (error remains exactly the same that I posted above). I'll change my password and pm it to you. Thanks a bunch for taking a look at this! Cheers, sheep2045 Last edited by Sheep2045; 03-04-2014 at 02:33 PM. |
03-04-2014, 09:14 PM | #10 |
creator of calibre
Posts: 43,857
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, the line numbers in the error message dont match the line numbers in the builtin recipe. Using cutom recipe is always there if you download via the GUI, because that is the way the GUI works.
|
03-05-2014, 04:10 PM | #11 |
Enthusiast
Posts: 43
Karma: 136
Join Date: Mar 2011
Device: Kindle Paperwhite
|
Hi sheep2045,
thanks for your support and help with this. I used your account to analyze the issue. I ran into a few issues tonight with timeouts also using my normal browser. Access to the mobile site, which is used by the recipe, is quite slow overall. This shouldn't break the recipe however. I still get the 404 error for the login form URL, which definitely exists though. I found a dirty fix by simply ignoring the error (try / except around br.submit() in get_browser), however I am sure I can find a clean resolution for this error. Give me a few more days. If you absolutely cannot wait try this for now instead of the br.submit() at around line 51 of the recipe: PHP Code:
Cheers, aero |
03-06-2014, 03:55 AM | #12 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
Thanks a bunch; this code:
PHP Code:
Cheers, sheep2045 |
03-07-2014, 03:23 PM | #13 |
Member
Posts: 11
Karma: 10
Join Date: Oct 2011
Device: Kindle Voyage
|
Just in case somebody is looking for a Kindle version: If you have a subscription, Der Spiegel is able to send a MOBI file directly to your Kindle. See https://abo.spiegel.de/de/c/kindle
|
03-07-2014, 03:52 PM | #14 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2014
Device: Kindle DXG
|
@Gartenzwerg: Yeah, thanks for the remainder, I think aero mentioned it as well. Unfortunately, that only works (to my understanding) without incurring further costs (for 3g delivery) if your Kindle is registered to a german Amazon account? But maybe I'm misinterpreting Amazon's terms of service regarding subscriptions?
(and it obviously won't matter if you have wifi) Cheers, sheep2045 |
03-07-2014, 04:05 PM | #15 |
Enthusiast
Posts: 43
Karma: 136
Join Date: Mar 2011
Device: Kindle Paperwhite
|
OK, here we go. They must have changed something that requires the login.html to have a valid referrer URL. Skip the try / except from before and just replace the getbrowser section with the follwing. The real change to the original recipe is the URL in br.open now containing the ?backUrl part.
PHP Code:
Is this just in my Kindle output or do you experience the same? |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Der Spiegel, Recipe Error Code:1 | penguin | Recipes | 7 | 10-09-2012 04:44 PM |
Recipe Request SPIEGEL/SPON Archive | calyo98 | Recipes | 0 | 09-09-2012 12:11 PM |
Recipe: DER SPIEGEL? | ganymede | Recipes | 14 | 06-04-2012 11:49 AM |
Economist Recipe Failing... | awitko | Recipes | 2 | 11-06-2011 11:47 PM |
Spiegel.de: Kleine Nabelschau zu eBooks auf der Buchmesse | K-Thom | Deutsches Forum | 14 | 10-16-2009 01:25 PM |