diff --git a/fanficfare/adapters/adapter_fictionhuntcom.py b/fanficfare/adapters/adapter_fictionhuntcom.py index fb133c8e..5318df42 100644 --- a/fanficfare/adapters/adapter_fictionhuntcom.py +++ b/fanficfare/adapters/adapter_fictionhuntcom.py @@ -321,8 +321,8 @@ class FictionHuntComSiteAdapter(BaseSiteAdapter): # else: # self.story.addToList('category', 'Original') - for chapa in soup.select('ul.Story__contents-list a'): - self.add_chapter(stripHTML(chapa.find('span')),chapa['href']) + for chapli in soup.select('ul.StoryContents__chapters li'): + self.add_chapter(stripHTML(chapli.select_one('span.chapter-title')),chapli.select_one('a')['href']) if self.num_chapters() == 0: raise exceptions.FailedToDownload("Story at %s has no chapters." % self.url)