diff --git a/fanficdownloader/adapters/adapter_whoficcom.py b/fanficdownloader/adapters/adapter_whoficcom.py index 517f40ea..fdc3fb21 100644 --- a/fanficdownloader/adapters/adapter_whoficcom.py +++ b/fanficdownloader/adapters/adapter_whoficcom.py @@ -112,11 +112,13 @@ class WhoficComSiteAdapter(BaseSiteAdapter): logging.debug("Author URL: "+self.story.getMetadata('authorUrl')) soup = bs.BeautifulStoneSoup(self._fetchUrl(self.story.getMetadata('authorUrl')), selfClosingTags=('br')) # normalize
tags to
- # find this story in the list, parse it's metadata based on # lots of assumptions about the html, since there's little # tagging. - a = soup.find('a', href=re.compile(r'viewstory.php\?sid='+self.story.getMetadata('storyId'))) + # Found a story once that had the story URL in the desc for a + # series on the same author's page. Now using the reviews + # link instead to find the appropriate metadata. + a = soup.find('a', href=re.compile(r'reviews.php\?sid='+self.story.getMetadata('storyId'))) metadata = a.findParent('td') metadatachunks = utf8FromSoup(metadata).split('
') # process metadata for this story. @@ -156,7 +158,6 @@ class WhoficComSiteAdapter(BaseSiteAdapter): for g in genre.split(r', '): self.story.addToList('genre',g) - # the next line is stuff with ' - ' separators *and* names--with tags. moremeta = metadatachunks[5] moremeta = re.sub(r'<[^>]+>','',moremeta) # strip tags. diff --git a/index.html b/index.html index 8c30e205..0824ac6f 100644 --- a/index.html +++ b/index.html @@ -53,18 +53,19 @@

Hi, {{ nickname }}! This is a fan fiction downloader, which makes reading stories from various websites much easier.

- +

If you have any problems with this application, please report them in the Fanfiction Downloader Google Group. The - Previous + Previous Version is also available for you to use if necessary.