diff --git a/fanficfare/adapters/base_otw_adapter.py b/fanficfare/adapters/base_otw_adapter.py index e8b93073..5b852d00 100644 --- a/fanficfare/adapters/base_otw_adapter.py +++ b/fanficfare/adapters/base_otw_adapter.py @@ -163,10 +163,19 @@ class BaseOTWAdapter(BaseSiteAdapter): self.performLogin(churl,data) data = self.get_request(churl,usecache=False) # logger.debug(data) + chsoup = self.make_soup(data) - ##
  • Entire Work
  • - entireworka = chsoup.select_one('li.entire a') - m = re.match(r'/works/(?P\d+)', entireworka['href']) + ## single chapter works don't have entire work link, find + ## from download links (other links may not be present). + ## Not just searching for href containing /downloads/ on + ## the off chance an author includes it. + ## + ##
  • + ## Download + ##