diff options
| author | 2025-08-25 02:01:07 -0400 | |
|---|---|---|
| committer | 2025-08-25 02:01:07 -0400 | |
| commit | 1df55d9de48105dace9cc16f1511dba3c9a6da6f (patch) | |
| tree | 6f6af90bd15a453d7fd1f5253cf01e1db801222f /gallery_dl/downloader/http.py | |
| parent | 3c1539bde1b47fff0ba81c9d92801fa700fedc3b (diff) | |
New upstream version 1.30.5.upstream/1.30.5
Diffstat (limited to 'gallery_dl/downloader/http.py')
| -rw-r--r-- | gallery_dl/downloader/http.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gallery_dl/downloader/http.py b/gallery_dl/downloader/http.py index 4595483..111fd9b 100644 --- a/gallery_dl/downloader/http.py +++ b/gallery_dl/downloader/http.py @@ -432,6 +432,9 @@ class HttpDownloader(DownloaderBase): if not SIGNATURE_CHECKS[pathfmt.extension](file_header): for ext, check in SIGNATURE_CHECKS.items(): if check(file_header): + self.log.debug( + "Adjusting filename extension of '%s' to '%s'", + pathfmt.filename, ext) pathfmt.set_extension(ext) pathfmt.build_path() return True |
