06-14-2024, 05:26 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2024
Device: Kindle Gen 5
|
French Newspaper Liberation Recipe only contents page
Hello,
Big fan of Calibre, over many years. I would like to know if it is possible to remedy the problem with the download of the News source, Libération. I have a user login and subscription, but the downloaded content is only the front page and the contents links. By reading some of the other posts, this would be a broken recipe? However, while I have tried to add a new recipe, this didn't seem to help very much (it didn't work, at any rate). Any help would be appreciated. This is the news source : https://www.liberation.fr/ Have a nice day. Luke |
06-17-2024, 06:31 AM | #2 |
Fanatic
Posts: 543
Karma: 82944
Join Date: May 2021
Device: kindle
|
pm me your login details.
|
Advert | |
|
06-23-2024, 05:53 PM | #3 |
Member
Posts: 17
Karma: 10
Join Date: Apr 2016
Device: Tolino Vision 3HD
|
I've updated the recipe to restore basic functionality. Paid articles are still not available, though. I'll leave that for someone else to fix.
|
06-24-2024, 06:04 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2024
Device: Kindle Gen 5
|
Hello Aimylios,
Thank you for taking the time. I'll take a look and see how it reacts. Have a nice day, Luke |
06-24-2024, 06:23 AM | #5 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2024
Device: Kindle Gen 5
|
Hello Aimylios,
Just checked, and it seems to be working much better! Thank you very much! Luke |
Advert | |
|
06-26-2024, 06:36 PM | #6 |
Enthusiast
Posts: 40
Karma: 10
Join Date: Aug 2018
Location: Budapest, Hungary
Device: Kindle Keyboard
|
Hello,
Have the same problem. Have an account with liberation.fr but the built-in recipe doesn't work -- with or without my user data. Have attached the error message. Of course I want the recipe to work with my user data. I want to have this newspaper sent to my Kindle on a daily basis. Having the access to the web content is not good enough because for that I would have to be online. Any help? Zoltan |
06-27-2024, 09:00 AM | #7 |
Fanatic
Posts: 543
Karma: 82944
Join Date: May 2021
Device: kindle
|
pm me your login details, i'll try.
|
06-27-2024, 07:24 PM | #8 |
Enthusiast
Posts: 40
Karma: 10
Join Date: Aug 2018
Location: Budapest, Hungary
Device: Kindle Keyboard
|
I will send my login details but after we get the recipe to work. That's the problem to begin with -- not that my login details are rejected. I have no idea whether or not they are since the recipe fails to work even in the "no subscription" mode.
When the recipe works again and there's an issue with my login, I'll be happy to share its details. |
06-27-2024, 07:48 PM | #9 |
Grand Sorcerer
Posts: 12,785
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Looking through the log it's full of ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1006) messages, which implies an issue with SSL certificates.
I just tried and had no issues with it. Manually accessing the https://www.liberation.fr/arc/outbou...outputType=xml page showed no ceritifcate errors, and the certificate is valid from Code:
Issued On Monday 22 April 2024 at 01:40:42 Expires On Sunday 21 July 2024 at 01:40:41 |
06-27-2024, 08:02 PM | #10 | |
Enthusiast
Posts: 40
Karma: 10
Join Date: Aug 2018
Location: Budapest, Hungary
Device: Kindle Keyboard
|
To Peter
Quote:
Thanks, Peter, that's one step closer. I'm not getting certification errors either when accessing the page directly. What could be done to get rid of the cert error the one gets when using calibre? |
|
06-27-2024, 10:41 PM | #11 |
Grand Sorcerer
Posts: 12,785
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Could you describe your setup.. what o/s, what browser (and version), what version of Calibre? What browser have you used to address the liberation web site?
In looking back through your posts you've had other issues related to certificates.. Did any of them get resolved? Sent from my Pixel 7a using Tapatalk |
06-28-2024, 07:22 AM | #12 | |
Enthusiast
Posts: 40
Karma: 10
Join Date: Aug 2018
Location: Budapest, Hungary
Device: Kindle Keyboard
|
Quote:
I wonder whether the problem could be solved by creating a custom recipe -- which I have done multiple times for a lot of outlets. As you've mentioned, the link https://www.liberation.fr/arc/outbou...outputType=xml works fine, so a new recipe could use that. If that's a solution, then I only need to figure out how to add my user name and password to a custom recipe. |
|
06-28-2024, 07:35 AM | #13 |
Fanatic
Posts: 543
Karma: 82944
Join Date: May 2021
Device: kindle
|
if you are using windows, visit the webpage on edge browser to install certificates.
or you can add this code to the recipe. Code:
def get_browser(self): return BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) |
06-28-2024, 05:55 PM | #14 | |
Enthusiast
Posts: 40
Karma: 10
Join Date: Aug 2018
Location: Budapest, Hungary
Device: Kindle Keyboard
|
Quote:
So opening the page in Edge will install the certificates? Have just done that. And calibre still won't download. It gets a bit further than before (by starting fetching feeds) but stops after a few seconds. Have attached the log. How can I add the code you've shared to the built-in recipe? Also, I created a custom recipe for https://www.liberation.fr/arc/outbou.../?redirected=1 . No error message with this one, however, it fails to download any article. Have added your 2-line code to the end but articles still won't download: Code:
#!/usr/bin/env python # vim:fileencoding=utf-8 from calibre.web.feeds.news import BasicNewsRecipe class AdvancedUserRecipe1719607517(BasicNewsRecipe): title = 'Libération (pers.)' oldest_article = 3 max_articles_per_feed = 100 auto_cleanup = True feeds = [ ('Articles', 'https://www.liberation.fr/arc/outboundfeeds/rss-all/collection/accueil-une/?redirected=1'), ] def get_browser(self): return BasicNewsRecipe.get_browser(self, verify_ssl_certificates=False) For testing the download of paid articles: thanks for the offer, I'll take it up once I get the download of free articles to work. Am using calibre portable btw. Last edited by zoltan.navy; 06-28-2024 at 06:15 PM. |
|
06-28-2024, 09:21 PM | #15 |
Grand Sorcerer
Posts: 12,785
Karma: 75641916
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Now the log shows both a login failure early on and still SSL errors
Is your windows totally up to date? Sent from my Pixel 7a using Tapatalk |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Recipe: Newspaper Front Page | Glenn680 | Recipes | 3 | 03-05-2024 12:34 PM |
Recipe for Het Laatste Nieuws (Belgian newspaper) based on built in recipe of Darko M | erkfuizfeuadjfjz | Recipes | 0 | 02-17-2017 04:11 PM |
Recipe voor De Tijd (Belgian newspaper) based on built in recipe of Darko Miletic | erkfuizfeuadjfjz | Recipes | 0 | 02-17-2017 03:43 PM |
Recipe for the French news paper Liberation | darkl | Recipes | 0 | 01-28-2012 03:17 PM |
Liberation recipe downloading only headlines | emai7s2 | Recipes | 3 | 08-20-2011 01:47 AM |