mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Include the subscribe message in WSJ for people whose accounts have expired
This commit is contained in:
parent
a756fc1b8f
commit
962a846506
@ -28,6 +28,7 @@ class WallStreetJournal(BasicNewsRecipe):
|
||||
dict(name='span', itemprop='author', rel='author'),
|
||||
dict(name='article', id=['article-contents', 'articleBody']),
|
||||
dict(name='div', id='article_story_body'),
|
||||
dict(name='div', attrs={'class':'snippet-ad-login'}),
|
||||
]
|
||||
remove_tags = [
|
||||
dict(attrs={'class':['insetButton', 'insettipBox']}),
|
||||
|
@ -26,6 +26,7 @@ class WallStreetJournal(BasicNewsRecipe):
|
||||
dict(name='span', itemprop='author', rel='author'),
|
||||
dict(name='article', id=['article-contents', 'articleBody']),
|
||||
dict(name='div', id='article_story_body'),
|
||||
dict(name='div', attrs={'class':'snippet-ad-login'}),
|
||||
]
|
||||
remove_tags = [
|
||||
dict(attrs={'class':['insetButton', 'insettipBox']}),
|
||||
@ -108,6 +109,7 @@ class WallStreetJournal(BasicNewsRecipe):
|
||||
desc = ''
|
||||
if feeds:
|
||||
feeds[0][1].append({'title':title, 'url':url, 'description':desc, 'date':''})
|
||||
feeds = [x for x in feeds if x[0] == 'Opinion']
|
||||
return feeds
|
||||
|
||||
def wsj_find_wn_articles(self, url):
|
||||
|
Loading…
x
Reference in New Issue
Block a user