mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
Add to FimF cover_exclusion_regexp and smaller cover when href not found.
This commit is contained in:
@@ -481,6 +481,8 @@ class BaseSiteAdapter(Configurable):
|
||||
if self.getConfig('include_images'):
|
||||
return self.story.addImgUrl(storyurl,imgurl,self._fetchUrlRaw,cover=True,
|
||||
coverexclusion=self.getConfig('cover_exclusion_regexp'))
|
||||
else:
|
||||
return (None,None)
|
||||
|
||||
# bs3 & bs4 are different here.
|
||||
# will move to a bs3 vs bs4 block if there's lots of changes.
|
||||
|
||||
Reference in New Issue
Block a user