Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
chore: update dependencies for v7.0.0 release (#1109)
NTFSvolume7e6dca7716de
diff --git a/poetry.lock b/poetry.lockindex 398f1ef46..8a897c5f0 100644--- a/poetry.lock+++ b/poetry.lock@@ -897,6 +897,7 @@ description = "libcurl ffi bindings for Python, with impersonation support."optional = falsepython-versions = ">=3.9"groups = ["main"]+markers = "implementation_name == \"cpython\""files = [{file = "curl_cffi-0.10.0-cp39-abi3-macosx_10_9_x86_64.whl", hash = "sha256:15053d01c6a3e3c4c5331ce9e07e1dc31ca5aa063babca05d18b1b5aad369fac"},{file = "curl_cffi-0.10.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:3969e4260ad4dab638fb6dbe349623f9f5f022435c7fd21daf760231380367fa"},@@ -921,20 +922,20 @@ test = ["charset_normalizer (>=3.3.2,<4.0)", "cryptography (>=42.0.5,<43.0)", "f[[package]]name = "dateparser"-version = "1.2.1"+version = "1.2.2"description = "Date parsing library designed to parse dates from HTML pages"optional = falsepython-versions = ">=3.8"groups = ["main"]files = [- {file = "dateparser-1.2.1-py3-none-any.whl", hash = "sha256:bdcac262a467e6260030040748ad7c10d6bacd4f3b9cdb4cfd2251939174508c"},- {file = "dateparser-1.2.1.tar.gz", hash = "sha256:7e4919aeb48481dbfc01ac9683c8e20bfe95bb715a38c1e9f6af889f4f30ccc3"},+ {file = "dateparser-1.2.2-py3-none-any.whl", hash = "sha256:5a5d7211a09013499867547023a2a0c91d5a27d15dd4dbcea676ea9fe66f2482"},+ {file = "dateparser-1.2.2.tar.gz", hash = "sha256:986316f17cb8cdc23ea8ce563027c5ef12fc725b6fb1d137c14ca08777c5ecf7"},][package.dependencies]python-dateutil = ">=2.7.0"pytz = ">=2024.2"-regex = ">=2015.06.24,<2019.02.19 || >2019.02.19,<2021.8.27 || >2021.8.27"+regex = ">=2024.9.11"tzlocal = ">=0.2"[package.extras]@@ -1483,14 +1484,14 @@ files = [[[package]]name = "myjdapi"-version = "1.1.9"+version = "1.1.10"description = "Library to use My.Jdownloader API in an easy way."optional = falsepython-versions = "*"groups = ["main"]files = [- {file = "myjdapi-1.1.9-py3-none-any.whl", hash = "sha256:84bcc8e4ba0fa5dbf4fd38749245aefe6a1022cd8b45f0714fb98722d293eb7d"},- {file = "myjdapi-1.1.9.tar.gz", hash = "sha256:7b49fa186241febd0a2f68748b2b05572b70bdcc2c5cb47b3863b38512640160"},+ {file = "myjdapi-1.1.10-py3-none-any.whl", hash = "sha256:4713978e9abcc5041d4499a36195889b9f5c10cb8a35b2ab898588009f9f2327"},+ {file = "myjdapi-1.1.10.tar.gz", hash = "sha256:3815f4441dabc6f7f35dc163ce87fa26bfc98614912618a818cede873dd3f19d"},][package.dependencies]@@ -2048,14 +2049,14 @@ files = [[[package]]name = "pydantic"-version = "2.11.4"+version = "2.11.7"description = "Data validation using Python type hints"optional = falsepython-versions = ">=3.9"groups = ["main"]files = [- {file = "pydantic-2.11.4-py3-none-any.whl", hash = "sha256:d9615eaa9ac5a063471da949c8fc16376a84afb5024688b3ff885693506764eb"},- {file = "pydantic-2.11.4.tar.gz", hash = "sha256:32738d19d63a226a52eed76645a98ee07c1f410ee41d93b4afbfa85ed8111c2d"},+ {file = "pydantic-2.11.7-py3-none-any.whl", hash = "sha256:dde5df002701f6de26248661f6835bbe296a47bf73990135c7d07ce741b9623b"},+ {file = "pydantic-2.11.7.tar.gz", hash = "sha256:d989c3c6cb79469287b1569f7447a17848c998458d49ebe294e975b9baf0f0db"},][package.dependencies]@@ -2689,14 +2690,14 @@ files = [[[package]]name = "textual"-version = "3.2.0"+version = "3.5.0"description = "Modern Text User Interface framework"optional = falsepython-versions = "<4.0.0,>=3.8.1"groups = ["main"]files = [- {file = "textual-3.2.0-py3-none-any.whl", hash = "sha256:c857c6d8dfc9aa915e09df99d227cbe1da3a7ea500b45af9f6b3ecb810c00d77"},- {file = "textual-3.2.0.tar.gz", hash = "sha256:d2f3b0c39e02535bb5f2aec1c45e10bd3ee7508ed1e240b7505c3cf02a6f00ed"},+ {file = "textual-3.5.0-py3-none-any.whl", hash = "sha256:7c960efb70391b754e66201776793de2b26d699d51fb91f5f78401d13cec79a1"},+ {file = "textual-3.5.0.tar.gz", hash = "sha256:c4a440338694672acf271c74904f1cf1e4a64c6761c056b02a561774b81a04f4"},][package.dependencies]@@ -2706,7 +2707,7 @@ rich = ">=13.3.3"typing-extensions = ">=4.4.0,<5.0.0"[package.extras]-syntax = ["tree-sitter (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-bash (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-css (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-go (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-html (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-java (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-javascript (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-json (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-markdown (>=0.3.0) ; python_version >= \"3.9\"", "tree-sitter-python (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-regex (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-rust (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-sql (>=0.3.0,<0.3.8) ; python_version >= \"3.9\"", "tree-sitter-toml (>=0.6.0) ; python_version >= \"3.9\"", "tree-sitter-xml (>=0.7.0) ; python_version >= \"3.9\"", "tree-sitter-yaml (>=0.6.0) ; python_version >= \"3.9\""]+syntax = ["tree-sitter (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-bash (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-css (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-go (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-html (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-java (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-javascript (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-json (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-markdown (>=0.3.0) ; python_version >= \"3.9\"", "tree-sitter-python (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-regex (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-rust (>=0.23.0,<=0.23.2) ; python_version >= \"3.9\"", "tree-sitter-sql (>=0.3.0,<0.3.8) ; python_version >= \"3.9\"", "tree-sitter-toml (>=0.6.0) ; python_version >= \"3.9\"", "tree-sitter-xml (>=0.7.0) ; python_version >= \"3.9\"", "tree-sitter-yaml (>=0.6.0) ; python_version >= \"3.9\""][[package]]name = "tornado"@@ -3219,4 +3220,4 @@ propcache = ">=0.2.1"[metadata]lock-version = "2.1"python-versions = ">=3.11,<4"-content-hash = "befbb5e41e0511c9925a4662cd392e081ea708cb117f666208050c72645660fa"+content-hash = "37e5a6a211eb1642b40962d51ea0d1c0725a8d768b1b73db82762c6cc01caa14"diff --git a/pyproject.toml b/pyproject.tomlindex a7c00e91a..125f4bd53 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -13,23 +13,23 @@ dependencies = ["beautifulsoup4 >=4.13.4","browser-cookie3 >=0.20.1","certifi >=2025.6.15",- "curl-cffi >=0.10.0",- "dateparser >=1.2.1",+ "curl-cffi >=0.10,<0.11; implementation_name=='cpython'",+ "dateparser >=1.2.2","get-video-properties >=0.1.1","inquirerpy >=0.3.4","m3u8 >=6.0.0","mediafire >=0.6.1",- "myjdapi >=1.1.9",- "packaging >=24.2",+ "myjdapi >=1.1.10",+ "packaging >=25.0","pillow >=10.0.0","platformdirs >=4.3.6","psutil >=7.0.0",- "pydantic >=2.10.6",+ "pydantic >=2.11.7","pywin32>=308 ; sys_platform == 'win32'","pyyaml >=6.0.2",- "rich >=13.9.4",+ "rich >=14.0.0","send2trash >=1.8.3",- "textual >=3.2.0",+ "textual >=3.5.0","truststore >=0.10.1","xxhash >=3.5.0"]diff --git a/scripts/release/start_linux.sh b/scripts/release/start_linux.shindex 75e33a6b8..8fc69630a 100755--- a/scripts/release/start_linux.sh+++ b/scripts/release/start_linux.sh@@ -7,6 +7,7 @@ VENV_DIR=""COMMANDLINE_ARGS=""AUTO_UPDATE=trueAUTO_UPDATE_PIP=true+CDL_VERSION=">=7.0,<8.0"# Parse argumentsHELP=false@@ -100,7 +101,7 @@ pip uninstall -y -qq cyberdrop-dl# Ensure Cyberdrop-DL is installedif ! command -v cyberdrop-dl >/dev/null 2>&1; thenecho Cyberdrop-DL is not installed, installing...- pip install "cyberdrop-dl-patched>=6.0,<7.0"+ pip install "cyberdrop-dl-patched${CDL_VERSION}"echoif [ $? -ne 0 ]; thenecho "Failed to install Cyberdrop-DL."@@ -113,7 +114,7 @@ if ! command -v cyberdrop-dl >/dev/null 2>&1; thenelseif [ "$AUTO_UPDATE" = true ] && [ "$SKIP_UPDATE" = false ]; thenecho Updating Cyberdrop-DL...- pip install --upgrade "cyberdrop-dl-patched>=6.0,<7.0"+ pip install --upgrade "cyberdrop-dl-patched${CDL_VERSION}"echofifidiff --git a/scripts/release/start_macOS.command b/scripts/release/start_macOS.commandindex 75e33a6b8..8fc69630a 100755--- a/scripts/release/start_macOS.command+++ b/scripts/release/start_macOS.command@@ -7,6 +7,7 @@ VENV_DIR=""COMMANDLINE_ARGS=""AUTO_UPDATE=trueAUTO_UPDATE_PIP=true+CDL_VERSION=">=7.0,<8.0"# Parse argumentsHELP=false@@ -100,7 +101,7 @@ pip uninstall -y -qq cyberdrop-dl# Ensure Cyberdrop-DL is installedif ! command -v cyberdrop-dl >/dev/null 2>&1; thenecho Cyberdrop-DL is not installed, installing...- pip install "cyberdrop-dl-patched>=6.0,<7.0"+ pip install "cyberdrop-dl-patched${CDL_VERSION}"echoif [ $? -ne 0 ]; thenecho "Failed to install Cyberdrop-DL."@@ -113,7 +114,7 @@ if ! command -v cyberdrop-dl >/dev/null 2>&1; thenelseif [ "$AUTO_UPDATE" = true ] && [ "$SKIP_UPDATE" = false ]; thenecho Updating Cyberdrop-DL...- pip install --upgrade "cyberdrop-dl-patched>=6.0,<7.0"+ pip install --upgrade "cyberdrop-dl-patched${CDL_VERSION}"echofifidiff --git a/scripts/release/start_windows.bat b/scripts/release/start_windows.batindex 6da9445dc..a9d30c4c4 100644--- a/scripts/release/start_windows.bat+++ b/scripts/release/start_windows.bat@@ -8,6 +8,7 @@ set "VENV_DIR="set "COMMANDLINE_ARGS="set "AUTO_UPDATE=true"set "AUTO_UPDATE_PIP=true"+set "CDL_VERSION=>=7.0,<8.0"rem Parse argumentsset "HELP=false"@@ -65,7 +66,7 @@ rem Ensure Cyberdrop-DL is installedwhere cyberdrop-dl >nul 2>&1if %ERRORLEVEL% neq 0 (echo Cyberdrop-DL is not installed, installing...- pip install "cyberdrop-dl-patched>=6.0,<7.0"+ pip install "cyberdrop-dl-patched%CDL_VERSION%"if %ERRORLEVEL% neq 0 (echo Failed to install Cyberdrop-DL.pause@@ -80,7 +81,7 @@ if %ERRORLEVEL% neq 0 () else (if "%AUTO_UPDATE%"=="true" if "%SKIP_UPDATE%"=="false" (echo Updating Cyberdrop-DL...- pip install --upgrade "cyberdrop-dl-patched>=6.0,<7.0"+ pip install --upgrade "cyberdrop-dl-patched%CDL_VERSION%"))@@ -102,4 +103,4 @@ echo Description:echo This script sets up a virtual environment and runs Cyberdrop-DL.echo By default, it ensures that Cyberdrop-DL is installed and up to date.echo.-exit /b 0+exit /b 0diff --git a/scripts/tools/check_dependencies_updates.py b/scripts/tools/check_dependencies_updates.pyindex e0173b47f..b4da754b6 100644--- a/scripts/tools/check_dependencies_updates.py+++ b/scripts/tools/check_dependencies_updates.py@@ -65,21 +65,22 @@ def get_direct_dependencies() -> Generator[str]:with pyproject_toml.open(encoding="utf-8") as file:content = file.read()start_index = content.index("dependencies = [") + len("dependencies = [")- end_index = content.index("]", start_index)+ end_index = content.index("]\n", start_index)dependencies = content[start_index:end_index]for dep in dependencies.splitlines():- name = dep.replace('"', "").strip()+ name = dep.replace('"', "").strip().split(" ")[0]for separator in " (>=":name = name.split(separator)[0].strip()if name:- yield name+ yield name.casefold()async def get_all_package_info() -> list[PackageInfo]:try:- direct_dependencies: set[str] = set(get_direct_dependencies())+ direct_dependencies: list[str] = list(get_direct_dependencies())pip_output: str = subprocess.check_output(["pip", "list", "--format", "json"], text=True) # noqa : ASYNC221- installed_packages: list[dict] = [p for p in json.loads(pip_output) if p["name"] in direct_dependencies]+ pip_json: list[dict[str, Any]] = json.loads(pip_output)+ installed_packages: list[dict] = [p for p in pip_json if p["name"].casefold() in direct_dependencies]total_packages: int = len(installed_packages)all_packages: list[PackageInfo] = []