mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Update Korea Herald
This commit is contained in:
commit
f02c7f4114
@ -16,15 +16,11 @@ class KoreaHerald(BasicNewsRecipe):
|
|||||||
max_articles_per_feed = 15
|
max_articles_per_feed = 15
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(id=['contentLeft', '_article'])
|
dict(name='h1', attrs={
|
||||||
]
|
'class':'title_sec'}),
|
||||||
|
dict(name='h4', attrs={
|
||||||
remove_tags = [
|
'class':'stitle_sec'}),
|
||||||
dict(name='iframe'),
|
dict(id='articleText')
|
||||||
dict(name='div', attrs={
|
|
||||||
'class': ['left', 'htit2', 'navigation', 'banner_txt', 'banner_img']}),
|
|
||||||
dict(name='ul', attrs={
|
|
||||||
'class': ['link_icon', 'flow_icon', 'detailTextAD110113']}),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
@ -34,5 +30,5 @@ class KoreaHerald(BasicNewsRecipe):
|
|||||||
('Entertainment', 'http://www.koreaherald.com/rss/020400000000.xml'),
|
('Entertainment', 'http://www.koreaherald.com/rss/020400000000.xml'),
|
||||||
('Sports', 'http://www.koreaherald.com/rss/020500000000.xml'),
|
('Sports', 'http://www.koreaherald.com/rss/020500000000.xml'),
|
||||||
('Opinion', 'http://www.koreaherald.com/rss/020600000000.xml'),
|
('Opinion', 'http://www.koreaherald.com/rss/020600000000.xml'),
|
||||||
('English Cafe', 'http://www.koreaherald.com/rss/021000000000.xml'),
|
('English Cafe', 'http://www.koreaherald.com/rss/021000000000.xml')
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user