mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-24 17:53:46 +01:00
fimfiction changed their image urls a little.
This commit is contained in:
parent
46e3b50ead
commit
4da9e459d1
1 changed files with 2 additions and 1 deletions
|
|
@ -146,8 +146,9 @@ class FimFictionNetSiteAdapter(BaseSiteAdapter):
|
|||
coverurl = storyMetadata["full_image"]
|
||||
else:
|
||||
coverurl = storyMetadata["image"]
|
||||
if coverurl.startswith('//static.fimfiction.net'): # fix for img urls missing 'http:'
|
||||
if coverurl.startswith('//'): # fix for img urls missing 'http:'
|
||||
coverurl = "http:"+coverurl
|
||||
|
||||
self.setCoverImage(self.url,coverurl)
|
||||
|
||||
# the fimfic API gives bbcode for desc, not html.
|
||||
|
|
|
|||
Loading…
Reference in a new issue