mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update The Atlantic
This commit is contained in:
parent
d231b9f8e4
commit
c851acf3de
@ -199,7 +199,7 @@ class TheAtlantic(BasicNewsRecipe):
|
|||||||
self.cover_url = img['src']
|
self.cover_url = img['src']
|
||||||
current_section, current_articles = 'Cover Story', []
|
current_section, current_articles = 'Cover Story', []
|
||||||
feeds = []
|
feeds = []
|
||||||
for x in soup.findAll(**prefix_classes('TocFeaturedSection_heading__ TocSection_heading__ TocHeroGridItem_hedLink___ TocGridItem_hedLink__')):
|
for x in soup.findAll(**prefix_classes('TocFeaturedSection_heading__ TocSection_heading__ TocHeroGridItem_hedLink__ TocGridItem_hedLink__')):
|
||||||
cls = x['class']
|
cls = x['class']
|
||||||
if not isinstance(cls, str):
|
if not isinstance(cls, str):
|
||||||
cls = ' '.join(cls)
|
cls = ' '.join(cls)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user