Skip to content

Bulk asynchronous downloader for multiple file hosts

Merge remote-tracking branch 'origin/master'

Jules-WinnfieldXfa0e75c209bc
diff --cc cyberdrop_dl/downloader/downloader_utils.py
index 3c2d2ede3,5f6da0795..1008a3ca1
--- a/cyberdrop_dl/downloader/downloader_utils.py
+++ b/cyberdrop_dl/downloader/downloader_utils.py
@@@ -8,10 -8,12 +8,11 @@@ from cyberdrop_dl.base_functions.base_f
from cyberdrop_dl.base_functions.data_classes import MediaItem
- class CloudflareHTTPStatus(IntEnum):
+ class CustomHTTPStatus(IntEnum):
WEB_SERVER_IS_DOWN = 521
+ IM_A_TEAPOT = 418
-
async def allowed_filetype(media: MediaItem, block_images: bool, block_video: bool, block_audio: bool, block_other: bool):
"""Checks whether the enclosed file is allowed to be downloaded"""
ext = media.ext