mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-16 13:53:04 +01:00
Fix to adapter_asexstoriescom for site change.
This commit is contained in:
parent
24c76ea808
commit
d8328985f7
1 changed files with 2 additions and 1 deletions
|
|
@ -132,7 +132,8 @@ class ASexStoriesComAdapter(BaseSiteAdapter):
|
|||
for page in chapterTable:
|
||||
chapterTitle = page.string
|
||||
chapterUrl = urlparse.urljoin(self.url, page['href'])
|
||||
self.chapterUrls.append((chapterTitle, chapterUrl))
|
||||
if chapterUrl.startswith(self.url): # there are other URLs in the pages block now.
|
||||
self.chapterUrls.append((chapterTitle, chapterUrl))
|
||||
|
||||
self.story.setMetadata('numChapters', len(self.chapterUrls))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue