From 0c1f3ce5a3c80eb8dc06af53ea5619272dc6440f Mon Sep 17 00:00:00 2001 From: Kennyl Date: Sat, 21 Jan 2017 15:00:30 +0800 Subject: [PATCH] Clean nbsp; remove nbsp in title name --- recipes/apple_daily.recipe | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/apple_daily.recipe b/recipes/apple_daily.recipe index b96b6e4b05..728609d776 100644 --- a/recipes/apple_daily.recipe +++ b/recipes/apple_daily.recipe @@ -117,6 +117,7 @@ class AppleDaily(BasicNewsRecipe): if (not title == u'動新聞') and (relativea.startswith('list.php')): sectionList.append((title, a)) for title, url in sectionList: + title = title.replace(" ", "") articles = self.parse_section(url) if articles: feeds.append((title, articles))