Files
gallery-dl/gallery_dl/extractor
Benjamin Vergnaud 3b316c857f [bunkr] detect new maintenance video file (#8802)
* fix(bunkr): catch new maintenance video file during validation

Bunkr has performing a large scale maintenance recently, and I've
noticed that I would on occasion download a file only to get
a short server is in maintenance video instead of the intended file.

Debug logs show the filename for the maintenance video has changed:
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): 3d09xl1.b-cdn.net:443
[urllib3.connectionpool][debug] https://3d09xl1.b-cdn.net:443 "GET /c4f36040-bdd1-40b6-aea1-034dfbe88ba2/maint.mp4 HTTP/1.1" 200 322509

This commit fixes the detection of that file to properly send the
"File server in maintenance mode" warning instead of downloading an
unintended file.

Signed-off-by: Benjamin VERGNAUD <ben@bvergnaud.fr>

* check multiple suffixes with one 'endswith()' call

---------

Signed-off-by: Benjamin VERGNAUD <ben@bvergnaud.fr>
2026-01-01 15:53:07 +01:00
..
2025-12-31 18:58:33 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-29 18:47:10 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-11-20 18:03:54 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-07 17:13:25 +01:00
2025-12-07 17:13:25 +01:00
2025-12-05 21:39:52 +01:00
2025-11-19 15:49:13 +01:00
2025-10-20 17:44:58 +02:00
2025-12-05 21:39:52 +01:00
2025-12-05 21:39:52 +01:00
2025-12-19 20:06:40 +01:00
2025-12-31 19:05:11 +01:00
2025-12-31 18:58:33 +01:00