mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
recipe: some fix in japanese recipe
jijinews: charset fix msnsankei: removal tag fix
This commit is contained in:
parent
176010dc03
commit
3a8eae0fba
@ -17,7 +17,7 @@ class JijiDotCom(BasicNewsRecipe):
|
|||||||
encoding = 'utf-8'
|
encoding = 'utf-8'
|
||||||
oldest_article = 6
|
oldest_article = 6
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
encoding = 'EUC_JP'
|
encoding = 'euc_jisx0213'
|
||||||
language = 'ja'
|
language = 'ja'
|
||||||
masthead_url = 'http://jen.jiji.com/images/logo_jijipress.gif'
|
masthead_url = 'http://jen.jiji.com/images/logo_jijipress.gif'
|
||||||
top_url = 'http://www.jiji.com/'
|
top_url = 'http://www.jiji.com/'
|
||||||
|
@ -23,5 +23,5 @@ class MSNSankeiNewsProduct(BasicNewsRecipe):
|
|||||||
remove_tags_before = dict(id="__r_article_title__")
|
remove_tags_before = dict(id="__r_article_title__")
|
||||||
remove_tags_after = dict(id="ajax_release_news")
|
remove_tags_after = dict(id="ajax_release_news")
|
||||||
remove_tags = [{'class':"parent chromeCustom6G"},
|
remove_tags = [{'class':"parent chromeCustom6G"},
|
||||||
{'class':"RelatedImg"}
|
dict(id="RelatedImg")
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user