mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
Fix base_xenforoforum_adapter bug when no threadmarks.
This commit is contained in:
parent
cc1359abf7
commit
6cfa71c3f0
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
|
||||||
# otherwise, use first post links--include first post since
|
# otherwise, use first post links--include first post since
|
||||||
# that's often also the first chapter.
|
# that's often also the first chapter.
|
||||||
|
|
||||||
if self.num_chapters < 1:
|
if self.num_chapters() < 1:
|
||||||
self.add_chapter(first_post_title,useurl)
|
self.add_chapter(first_post_title,useurl)
|
||||||
for (url,name) in [ (x['href'],stripHTML(x)) for x in bq.find_all('a') ]:
|
for (url,name) in [ (x['href'],stripHTML(x)) for x in bq.find_all('a') ]:
|
||||||
(is_chapter_url,url) = self._is_normalize_chapterurl(url)
|
(is_chapter_url,url) = self._is_normalize_chapterurl(url)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue