View Single Post
Old 01-30-2014, 05:47 AM   #1
rk43
Junior Member
rk43 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2014
Location: Switzerland
Device: Android tablet - Aldiko
Need help with le_temps.recipe

I cannot get the builtin recipe for "Le Temps" to work properly.

Perhaps am I doing something stupid as I had never tried the news part of calibre in the past. But I got some other recipes to work properly.

I noticed that the structure of the pages has probably changed since the creation of the recipe (2009). I therefore tried to adjust the recipe but had no succes at all.

I also noticed that the rss from "Le Temps" are redirected to rss.feedsportal.com, a site providing statistical information to online publishers.

I then started to susppect a login problem. Note that the login through get_browser seems to work, at least I receive the proper error message if I provide a wrong password.

I therefore tried to compare the epub produced with and without login (set needs_subscription to False end removed the overload of get browser). I was very surprised to see that the produced epub are exactly the same. The table of content is properly built but the pages themselves contain only the title and the teaser, plus some icons probably added by rss.feedsportal.com (see the attached epub).

I suspect, but have no proof, that the cookies returned by the login process are not stored properly, perhaps with the wrong url.

Now, I don't know what to do next and where to look. Any help wold be greatly appreciated.

R. Kessi
rk43 is offline   Reply With Quote