mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 18:53:21 +01:00
add notification when solving cloudflare challenge
This commit is contained in:
parent
dce5bce74e
commit
cdecd0b37b
@ -22,6 +22,7 @@ def request_func(self, *args):
|
||||
response = self.session.get(*args)
|
||||
if response.status_code != 200:
|
||||
_cookiecache.invalidate(self.root)
|
||||
self.log.info("Solving Cloudflare challenge")
|
||||
response = solve_challenge(self.session, response)
|
||||
_cookiecache(self.root, self.session.cookies)
|
||||
return response
|
||||
|
Loading…
Reference in New Issue
Block a user