Add to FimF cover_exclusion_regexp and smaller cover when href not found.

This commit is contained in:
Jim Miller
2015-04-22 15:48:24 -05:00
parent dda8360044
commit 53ca251a49
+2
View File
@@ -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.