adapter_ficbooknet: Fix for site change.

This commit is contained in:
Jim Miller 2023-03-21 21:17:09 -05:00
parent e4847653c6
commit 4fd8972f6a

View file

@ -99,7 +99,7 @@ class FicBookNetAdapter(BaseSiteAdapter):
# Find authorid and URL from... author url.
# assume first avatar-nickname -- there can be a second marked 'beta'.
a = soup.find('a',{'class':'creator-nickname'})
a = soup.find('a',{'class':'creator-username'})
self.story.setMetadata('authorId',a.text) # Author's name is unique
self.story.setMetadata('authorUrl','https://'+self.host+a['href'])
self.story.setMetadata('author',a.text)