From 3a8eae0fba90b4c3ee040e47c7f64e5f2ed8c6b2 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Sat, 27 Nov 2010 10:18:43 +0900 Subject: [PATCH] recipe: some fix in japanese recipe jijinews: charset fix msnsankei: removal tag fix --- resources/recipes/jijinews.recipe | 2 +- resources/recipes/msnsankei.recipe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/recipes/jijinews.recipe b/resources/recipes/jijinews.recipe index a62b4db739..98e7a180d1 100644 --- a/resources/recipes/jijinews.recipe +++ b/resources/recipes/jijinews.recipe @@ -17,7 +17,7 @@ class JijiDotCom(BasicNewsRecipe): encoding = 'utf-8' oldest_article = 6 max_articles_per_feed = 100 - encoding = 'EUC_JP' + encoding = 'euc_jisx0213' language = 'ja' masthead_url = 'http://jen.jiji.com/images/logo_jijipress.gif' top_url = 'http://www.jiji.com/' diff --git a/resources/recipes/msnsankei.recipe b/resources/recipes/msnsankei.recipe index 8c78ccd9e9..ae195559d5 100644 --- a/resources/recipes/msnsankei.recipe +++ b/resources/recipes/msnsankei.recipe @@ -23,5 +23,5 @@ class MSNSankeiNewsProduct(BasicNewsRecipe): remove_tags_before = dict(id="__r_article_title__") remove_tags_after = dict(id="ajax_release_news") remove_tags = [{'class':"parent chromeCustom6G"}, - {'class':"RelatedImg"} + dict(id="RelatedImg") ]