mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-15 13:22:23 +01:00
Silence a spammy debug
Silence a debug in addImgUrl that was spammy. Signed-off-by: Nicolas SAPA <nico@ByMe.at>
This commit is contained in:
parent
a1d4fba728
commit
52027eac46
1 changed files with 3 additions and 3 deletions
|
|
@ -1549,10 +1549,10 @@ class Story(Requestable):
|
||||||
def addImgUrl(self,parenturl,url,fetch,cover=None,coverexclusion=None):
|
def addImgUrl(self,parenturl,url,fetch,cover=None,coverexclusion=None):
|
||||||
logger.debug("addImgUrl(parenturl=%s,url=%s,cover=%s,coverexclusion=%s"%(parenturl,url,cover,coverexclusion))
|
logger.debug("addImgUrl(parenturl=%s,url=%s,cover=%s,coverexclusion=%s"%(parenturl,url,cover,coverexclusion))
|
||||||
|
|
||||||
## flaresolverr can't download images, this directly downloads
|
## flaresolverr can't download images and browser_cache can be setup to ignore image,
|
||||||
## them using RequestsFetcher.
|
## so this directly downloads them using RequestsFetcher.
|
||||||
if self.direct_fetcher:
|
if self.direct_fetcher:
|
||||||
logger.debug("addImgUrl: use_flaresolverr_proxy:directimages")
|
# logger.debug("addImgUrl: using direct_fetcher")
|
||||||
fetch = self.direct_fetcher
|
fetch = self.direct_fetcher
|
||||||
|
|
||||||
# otherwise it saves the image in the epub even though it
|
# otherwise it saves the image in the epub even though it
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue