mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-25 04:02:32 +01:00
[common] emit logging messages for --write-pages files
This commit is contained in:
parent
cb0d8cae77
commit
390b8ddd3e
@ -654,6 +654,8 @@ class Extractor():
|
|||||||
headers=(self._write_pages in ("all", "ALL")),
|
headers=(self._write_pages in ("all", "ALL")),
|
||||||
hide_auth=(self._write_pages != "ALL")
|
hide_auth=(self._write_pages != "ALL")
|
||||||
)
|
)
|
||||||
|
self.log.info("Writing '%s' response to '%s'",
|
||||||
|
response.url, path + ".txt")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.warning("Failed to dump HTTP request (%s: %s)",
|
self.log.warning("Failed to dump HTTP request (%s: %s)",
|
||||||
e.__class__.__name__, e)
|
e.__class__.__name__, e)
|
||||||
|
Loading…
Reference in New Issue
Block a user