mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-28 01:42:34 +02:00
Fix for XenForo(SB/SV) threadmarks with non-ascii chars.
This commit is contained in:
parent
e2f2b5ed8c
commit
1da7f6ec15
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
|
|||
return dom.getElementsByTagName(tag)[0].firstChild.data.encode("utf-8")
|
||||
|
||||
for threadmarksa in threadmarksas:
|
||||
threadmark_rss_dom = parseString(self._fetchUrl(self.getURLPrefix()+'/'+threadmarksa['href'].replace('threadmarks','threadmarks.rss')))
|
||||
threadmark_rss_dom = parseString(self._fetchUrl(self.getURLPrefix()+'/'+threadmarksa['href'].replace('threadmarks','threadmarks.rss')).encode('utf-8'))
|
||||
# print threadmark_rss_dom.toxml(encoding='utf-8')
|
||||
|
||||
tmcat_num = threadmarksa['href'].split('category_id=')[1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue