mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-10-04 12:10:26 +08:00
Fix issue with fanfiction.net covers and non-epub formats.
This commit is contained in:
1 parent
53523647ca
commit
ce0a9b93e0
1 file changed
+4
-3
@@ -245,9 +245,10 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
|
||||
else:
|
||||
self.story.setMetadata('status', 'In-Progress')
|
||||
|
||||
img = soup.find('img',{'class':'cimage'})
|
||||
if img:
|
||||
self.story.addImgUrl(self,url,img['src'],self._fetchUrlRaw,cover=True)
|
||||
if self.getConfig('include_images'):
|
||||
img = soup.find('img',{'class':'cimage'})
|
||||
if img:
|
||||
self.story.addImgUrl(self,url,img['src'],self._fetchUrlRaw,cover=True)
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user