From 55d2c77a0c563a1d51e238101b2193112bd93efa Mon Sep 17 00:00:00 2001 From: oh444555 Date: Sat, 4 Feb 2017 03:40:31 +0100 Subject: [PATCH] adapter_asianfanficscom chapter URL update fix --- fanficfare/adapters/adapter_asianfanficscom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficfare/adapters/adapter_asianfanficscom.py b/fanficfare/adapters/adapter_asianfanficscom.py index 3994506e..90750aa1 100644 --- a/fanficfare/adapters/adapter_asianfanficscom.py +++ b/fanficfare/adapters/adapter_asianfanficscom.py @@ -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: