mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Clean nbsp;
remove nbsp in title name
This commit is contained in:
parent
b671517232
commit
0c1f3ce5a3
@ -117,6 +117,7 @@ class AppleDaily(BasicNewsRecipe):
|
|||||||
if (not title == u'動新聞') and (relativea.startswith('list.php')):
|
if (not title == u'動新聞') and (relativea.startswith('list.php')):
|
||||||
sectionList.append((title, a))
|
sectionList.append((title, a))
|
||||||
for title, url in sectionList:
|
for title, url in sectionList:
|
||||||
|
title = title.replace(" ", "")
|
||||||
articles = self.parse_section(url)
|
articles = self.parse_section(url)
|
||||||
if articles:
|
if articles:
|
||||||
feeds.append((title, articles))
|
feeds.append((title, articles))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user