mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 06:43:19 +02:00
Nicer cover for the economist
This commit is contained in:
parent
22b917ccc5
commit
3c2982dfef
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ class Economist(BasicNewsRecipe):
|
|||
' Needs a subscription from ')+INDEX
|
||||
|
||||
oldest_article = 7.0
|
||||
cover_url = 'http://www.economist.com/images/covers/currentcovereu_large.jpg'
|
||||
cover_url = 'http://www.economist.com/images/covers/currentcoverus_large.jpg'
|
||||
remove_tags = [dict(name=['script', 'noscript', 'title', 'iframe', 'cf_floatingcontent']),
|
||||
dict(attrs={'class':['dblClkTrk']})]
|
||||
remove_tags_before = dict(name=lambda tag: tag.name=='title' and tag.parent.name=='body')
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ class Economist(BasicNewsRecipe):
|
|||
' Much slower than the subscription based version.')
|
||||
|
||||
oldest_article = 7.0
|
||||
cover_url = 'http://www.economist.com/images/covers/currentcovereu_large.jpg'
|
||||
cover_url = 'http://www.economist.com/images/covers/currentcoverus_large.jpg'
|
||||
remove_tags = [dict(name=['script', 'noscript', 'title', 'iframe', 'cf_floatingcontent']),
|
||||
dict(attrs={'class':['dblClkTrk']})]
|
||||
remove_tags_before = dict(name=lambda tag: tag.name=='title' and tag.parent.name=='body')
|
||||
|
|
|
|||
Loading…
Reference in a new issue