Skip to content

Bulk asynchronous downloader for multiple file hosts

Clean some imports

Jules-WinnfieldXce9417506bdf
diff --git a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
index 694973531..20af4e942 100644
--- a/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/gofile_crawler.py
@@ -11,10 +11,8 @@ import aiohttp.client_exceptions
from aiolimiter import AsyncLimiter
from yarl import URL
-from cyberdrop_dl.clients.errors import NoExtensionFailure
from cyberdrop_dl.utils.dataclasses.url_objects import MediaItem, ScrapeItem
-from cyberdrop_dl.utils.utilities import (FILE_FORMATS, get_filename_and_ext, error_handling_wrapper,
- log, get_download_path, remove_id)
+from cyberdrop_dl.utils.utilities import get_filename_and_ext, error_handling_wrapper, log, get_download_path, remove_id
if TYPE_CHECKING:
from asyncio import Queue
diff --git a/cyberdrop_dl/scraper/crawlers/imgbox_crawler.py b/cyberdrop_dl/scraper/crawlers/imgbox_crawler.py
index 583896163..f7362e575 100644
--- a/cyberdrop_dl/scraper/crawlers/imgbox_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/imgbox_crawler.py
@@ -4,7 +4,6 @@ from dataclasses import field
from typing import TYPE_CHECKING
from aiolimiter import AsyncLimiter
-from bs4 import BeautifulSoup
from yarl import URL
from cyberdrop_dl.utils.dataclasses.url_objects import ScrapeItem, MediaItem
diff --git a/cyberdrop_dl/scraper/crawlers/saint_crawler.py b/cyberdrop_dl/scraper/crawlers/saint_crawler.py
index a400c7294..501bfe6de 100644
--- a/cyberdrop_dl/scraper/crawlers/saint_crawler.py
+++ b/cyberdrop_dl/scraper/crawlers/saint_crawler.py
@@ -1,16 +1,13 @@
from __future__ import annotations
-import re
from dataclasses import field
from typing import TYPE_CHECKING
from aiolimiter import AsyncLimiter
from yarl import URL
-from cyberdrop_dl.clients.errors import NoExtensionFailure
from cyberdrop_dl.utils.dataclasses.url_objects import MediaItem, ScrapeItem
-from cyberdrop_dl.utils.utilities import (FILE_FORMATS, get_filename_and_ext, error_handling_wrapper,
- log, get_download_path, remove_id)
+from cyberdrop_dl.utils.utilities import get_filename_and_ext, error_handling_wrapper, log, get_download_path, remove_id
if TYPE_CHECKING:
from asyncio import Queue