Merge default changes into bs4 branch.

This commit is contained in:
Jim Miller 2014-12-09 10:24:20 -06:00
commit ce9012de18

View file

@ -127,7 +127,7 @@ class FimFictionNetSiteAdapter(BaseSiteAdapter):
self.story.setMetadata('title',stripHTML(title))
# Author
author = storyContentBox.find('span', {'class':'author'})
author = storyContentBox.find('div', {'class':'author'}).find('a')
self.story.setMetadata("author", stripHTML(author))
#No longer seems to be a way to access Fimfiction's internal author ID
self.story.setMetadata("authorId", self.story.getMetadata("author"))