mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-26 00:43:08 +02:00
Fix for adapter_inkbunnynet author search.
This commit is contained in:
parent
fecdc3f114
commit
7fd0ccba45
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ class InkBunnyNetSiteAdapter(BaseSiteAdapter):
|
|||
self.story.setMetadata('title', stripHTML(title))
|
||||
|
||||
# Get Author
|
||||
authortag = soup.find_all('table')[4].find('a',href=re.compile(r'/gallery/'))
|
||||
authortag = soup.find('table',{'class':'pooltable'}).find('a',href=re.compile(r'/gallery/'))
|
||||
author = authortag['href'].split('/')[-1] # no separate ID
|
||||
self.story.setMetadata('author', author)
|
||||
self.story.setMetadata('authorId', author)
|
||||
|
|
|
|||
Loading…
Reference in a new issue