mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
Fix Fimfiction's author name detection
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user