Quote:
Originally Posted by unkn0wn
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)
I thought you were missing paid articles. If you want paid articles to work send me details to test.
|
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)
In all, I wonder what's going on. Why is it that with some sites, it's such a struggle to make calibre access them and download stuff. (Why involve Edge in the first place, why add code to recipe, etc.)
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.