mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
1f9c67ce02
commit
9ffcb91813
@ -27,7 +27,7 @@ class Haaretz_en(BasicNewsRecipe):
|
||||
language = 'en_IL'
|
||||
needs_subscription = True
|
||||
remove_empty_feeds = True
|
||||
ignore_duplicate_articles = {'url'}
|
||||
ignore_duplicate_articles = {'url'}
|
||||
publication_type = 'newspaper'
|
||||
PREFIX = 'https://www.haaretz.com'
|
||||
LOGIN = 'https://services.haaretz.com/ms-sso/loginUrlEncoded'
|
||||
@ -52,7 +52,8 @@ class Haaretz_en(BasicNewsRecipe):
|
||||
]
|
||||
remove_attributes = ['width', 'height']
|
||||
remove_tags = [
|
||||
dict(name=['div', 'ul', 'button', 'svg'], attrs={'data-test': ['audioPlayer', 'newsletter', 'relatedArticles', 'tags', 'writerAlertButton', 'IconAlefLogo']})
|
||||
dict(name=['div', 'ul', 'button', 'svg'], attrs={'data-test': [
|
||||
'audioPlayer', 'newsletter', 'relatedArticles', 'tags', 'writerAlertButton', 'IconAlefLogo']})
|
||||
]
|
||||
|
||||
feeds = [
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
|
||||
class TheHealthy(BasicNewsRecipe):
|
||||
title = 'The Healthy from Readers Digest'
|
||||
language = 'en'
|
||||
@ -63,5 +64,5 @@ class TheHealthy(BasicNewsRecipe):
|
||||
('Health Care', 'https://www.thehealthy.com/healthcare/feed'),
|
||||
('Home Remedies', 'https://www.thehealthy.com/home-remedies/feed'),
|
||||
('Oral and Dental Care', 'https://www.thehealthy.com/dental/feed'),
|
||||
('Self Care', 'https://www.thehealthy.com/mental-health/self-care/feed'),
|
||||
('Self Care', 'https://www.thehealthy.com/mental-health/self-care/feed'),
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user