Handle tags within the title anchor

This commit is contained in:
cryzed 2014-06-10 21:08:10 +02:00
parent 4c4576f331
commit 2e38ef1122

View file

@ -108,7 +108,7 @@ class FanfictionCsodaidokHuAdapter(BaseSiteAdapter):
else:
raise exceptions.FailedToDownload(self.url)
title = a.string
title = ''.join(a(text=True))
self.story.setMetadata('title', title)
if not self.chapterUrls:
self.chapterUrls.append((title, self.url))