mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 00:43:00 +01:00
adapter_storiesonlinenet: Set authorUrl to site homepage when (Hidden) author for #1272
This commit is contained in:
parent
20681315e7
commit
ead830c60a
1 changed files with 3 additions and 1 deletions
|
|
@ -277,7 +277,9 @@ class StoriesOnlineNetAdapter(BaseSiteAdapter):
|
||||||
if self.story.getList('authorUrl'):
|
if self.story.getList('authorUrl'):
|
||||||
self.getStoryMetadataFromAuthorPage()
|
self.getStoryMetadataFromAuthorPage()
|
||||||
else:
|
else:
|
||||||
logger.info("No authorurl found, could be contest story...")
|
logger.info("No authorurl found, setting to homepage. Could be contest story...")
|
||||||
|
self.story.setMetadata('authorUrl','https://' + self.getSiteDomain() + '/')
|
||||||
|
|
||||||
|
|
||||||
# Some books have a cover in the index page.
|
# Some books have a cover in the index page.
|
||||||
# Samples are:
|
# Samples are:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue