mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-03 06:34:04 +01:00
adapter_storiesonline(FineStories.com) fix for missing author link in header tag.
This commit is contained in:
parent
99880b7c97
commit
33480c3ce4
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
|||
# Find authorid and URL from... author url. Sometimes in top,
|
||||
# other times in footer.
|
||||
authfrom = soup.find('div', {'id':'top-header'})
|
||||
if authfrom is None:
|
||||
if authfrom is None or 'author' not in str(authfrom):
|
||||
authfrom = soup.find('footer')
|
||||
alist = authfrom.findAll('a', {'rel' : 'author'})
|
||||
for a in alist:
|
||||
|
|
|
|||
Loading…
Reference in a new issue