mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
adapter_ficbooknet: Fix for site change.
This commit is contained in:
parent
e4847653c6
commit
4fd8972f6a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue