mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
a2a608acd0
commit
63b058baa6
@ -83,6 +83,8 @@ class spectator(BasicNewsRecipe):
|
||||
)):
|
||||
a = div.find('a', attrs={
|
||||
'href': lambda x: x and x.startswith(('/article/', '/illustration/'))})
|
||||
if a is None:
|
||||
continue
|
||||
url = absurl(a['href'])
|
||||
title = self.tag_to_string(div.find('div', **prefixed_classes(
|
||||
'ArticleCard_spectator-article-card__headline__'))).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user