Clean nbsp;

remove nbsp in title name
This commit is contained in:
Kennyl 2017-01-21 15:00:30 +08:00 committed by GitHub
parent b671517232
commit 0c1f3ce5a3

View File

@ -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))