mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix kyunghyang recipe incorrectly named
This commit is contained in:
parent
9160ec4753
commit
02332ca488
@ -16,14 +16,14 @@ class Kyungyhang(BasicNewsRecipe):
|
|||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
remove_javascript = True
|
remove_javascript = True
|
||||||
|
|
||||||
keep_only_tags = [
|
keep_only_tags = [
|
||||||
dict(name='div', attrs ={'class':['article_title_wrap']}),
|
dict(name='div', attrs ={'class':['article_title_wrap']}),
|
||||||
dict(name='div', attrs ={'class':['article_txt']})
|
dict(name='span', attrs ={'class':['article_txt']})
|
||||||
]
|
]
|
||||||
|
|
||||||
remove_tags_after = dict(id={'sub_bottom'})
|
remove_tags_after = dict(id={'sub_bottom'})
|
||||||
|
|
||||||
remove_tags = [
|
remove_tags = [
|
||||||
dict(name='iframe'),
|
dict(name='iframe'),
|
||||||
dict(id={'TdHot'}),
|
dict(id={'TdHot'}),
|
||||||
@ -31,7 +31,7 @@ class Kyungyhang(BasicNewsRecipe):
|
|||||||
dict(name='dl', attrs={'class':['CL']}),
|
dict(name='dl', attrs={'class':['CL']}),
|
||||||
dict(name='ul', attrs={'class':['tab']}),
|
dict(name='ul', attrs={'class':['tab']}),
|
||||||
]
|
]
|
||||||
|
|
||||||
feeds = [
|
feeds = [
|
||||||
('All News','http://www.khan.co.kr/rss/rssdata/total_news.xml'),
|
('All News','http://www.khan.co.kr/rss/rssdata/total_news.xml'),
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user