Quote:
self.cover_url = soup.find(**classes('subscribe-callout-image'))['data-src'].split("|")[-1]
self.cover_url = self.cover_url.split('?')[0]
self.cover_url = self.cover_url.replace('_webp_issue_small_2x', '_webp_issue_large_2x')
|
https://github.com/kovidgoyal/calibr...affairs.recipe
removed line 156 and changed 157 replace tags (or just replace('small', 'large')
https://cdn-live.foreignaffairs.com/...over_large.jpg .webp ? itok=LUFlkUCK
if we remove .webp link is not working..