Merge pull request #162 from oh444555/master

adapter_asianfanficscom chapter URL update fix
This commit is contained in:
Jim Miller 2017-02-03 21:33:31 -06:00 committed by GitHub
commit de06b8831e

View file

@ -174,7 +174,7 @@ class AsianFanFicsComAdapter(BaseSiteAdapter):
self.story.setMetadata('numChapters',len(chapters))
for index, chapter in enumerate(chapters):
if chapter.text != 'Foreword': # skip the foreword
self.chapterUrls.append((stripHTML(chapter.text),chapter['value'])) # note: AFF cuts off chapter names in list. this gets kind of fixed later on
self.chapterUrls.append((stripHTML(chapter.text),'http://' + self.getSiteDomain() + chapter['value'])) # note: AFF cuts off chapter names in list. this gets kind of fixed later on
# find timestamp
a = soup.find('span', text='Updated')
if a == None: