12-10-2021, 09:13 PM | #1 |
doofus
Posts: 2,529
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
Retrieving longform.org [SSL: CERTIFICATE_VERIFY_FAILED]
Hello
I'm trying to write a recipe for longform.org If I try to parse index with Code:
soup = self.index_to_soup('http://longform.org') Code:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123) Code:
>>> import requests >>> data = requests.get('http://longform.org').text I did the trick with opening the url with chrome and IE but that did not help Any suggestions? Thanks in advance |
12-10-2021, 09:32 PM | #2 |
creator of calibre
Posts: 44,393
Karma: 23798586
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
12-11-2021, 12:44 AM | #3 |
doofus
Posts: 2,529
Karma: 13088847
Join Date: Sep 2010
Device: Kobo Libra 2, Kindle Voyage
|
that did it. thank you!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Libération - [SSL: CERTIFICATE_VERIFY_FAILED] | mpf | Recipes | 9 | 11-12-2021 05:48 AM |
[SSL: CERTIFICATE_VERIFY_FAILED] | Korben Dallas | Calibre | 8 | 03-02-2020 05:48 AM |
SSL: CERTIFICATE_VERIFY_FAILED Error | Bengb | Library Management | 10 | 07-24-2017 11:56 AM |
longform.org (My first recipe, please critique) | Barty | Recipes | 5 | 01-10-2014 02:31 PM |
Sites like Longform.org in other languages? | ficbot | General Discussions | 0 | 09-27-2012 06:22 PM |