Skip to content

Bulk asynchronous downloader for multiple file hosts

add handle fix for sqlite schema for browser3

datawhores3d59be7ed7d4
diff --git a/poetry.lock b/poetry.lock
index a5f28f842..ac995f0c9 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -1,9 +1,10 @@
-# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand.
+# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand.
[[package]]
name = "aiofiles"
version = "0.8.0"
description = "File support for asyncio."
+category = "main"
optional = false
python-versions = ">=3.6,<4.0"
files = [
@@ -15,6 +16,7 @@ files = [
name = "aiohappyeyeballs"
version = "2.4.3"
description = "Happy Eyeballs for asyncio"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -26,6 +28,7 @@ files = [
name = "aiohttp"
version = "3.10.10"
description = "Async http client/server framework (asyncio)"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -137,6 +140,7 @@ speedups = ["Brotli", "aiodns (>=3.2.0)", "brotlicffi"]
name = "aiolimiter"
version = "1.1.0"
description = "asyncio rate limiter, a leaky bucket implementation"
+category = "main"
optional = false
python-versions = ">=3.7,<4.0"
files = [
@@ -148,6 +152,7 @@ files = [
name = "aiosignal"
version = "1.3.1"
description = "aiosignal: a list of registered asynchronous callbacks"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -162,6 +167,7 @@ frozenlist = ">=1.1.0"
name = "aiosqlite"
version = "0.17.0"
description = "asyncio bridge to the standard sqlite3 module"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -176,6 +182,7 @@ typing_extensions = ">=3.7.2"
name = "apprise"
version = "1.9.0"
description = "Push Notifications that work with just about every platform!"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -195,6 +202,7 @@ requests-oauthlib = "*"
name = "arrow"
version = "1.3.0"
description = "Better dates & times for Python"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -208,12 +216,13 @@ types-python-dateutil = ">=2.8.10"
[package.extras]
doc = ["doc8", "sphinx (>=7.0.0)", "sphinx-autobuild", "sphinx-autodoc-typehints", "sphinx_rtd_theme (>=1.3.0)"]
-test = ["dateparser (==1.*)", "pre-commit", "pytest", "pytest-cov", "pytest-mock", "pytz (==2021.1)", "simplejson (==3.*)"]
+test = ["dateparser (>=1.0.0,<2.0.0)", "pre-commit", "pytest", "pytest-cov", "pytest-mock", "pytz (==2021.1)", "simplejson (>=3.0.0,<4.0.0)"]
[[package]]
name = "asyncpraw"
version = "7.8.0"
description = "Asynchronous Python Reddit API Wrapper."
+category = "main"
optional = false
python-versions = "~=3.8"
files = [
@@ -233,12 +242,13 @@ ci = ["coveralls"]
dev = ["asyncpraw[lint]", "asyncpraw[test]", "packaging"]
lint = ["asyncpraw[readthedocs]", "pre-commit", "ruff (>=0.0.292)"]
readthedocs = ["furo", "sphinx", "sphinxcontrib-trio"]
-test = ["mock (==4.*)", "pytest (==7.*)", "pytest-asyncio (==0.18.*)", "pytest-vcr (==1.*)", "urllib3 (==1.*)", "vcrpy (==4.2.1)"]
+test = ["mock (>=4.0.0,<5.0.0)", "pytest (>=7.0.0,<8.0.0)", "pytest-asyncio (>=0.18.0,<0.19.0)", "pytest-vcr (>=1.0.0,<2.0.0)", "urllib3 (>=1.0.0,<2.0.0)", "vcrpy (==4.2.1)"]
[[package]]
name = "asyncprawcore"
version = "2.4.0"
description = "Low-level asynchronous communication layer for Async PRAW 7+."
+category = "main"
optional = false
python-versions = "~=3.8"
files = [
@@ -253,13 +263,14 @@ yarl = "*"
[package.extras]
ci = ["coveralls"]
dev = ["asyncprawcore[lint]", "asyncprawcore[test]", "packaging"]
-lint = ["pre-commit", "ruff (==0.1.*)"]
-test = ["mock (==4.*)", "pytest (==7.*)", "pytest-asyncio (==0.18.*)", "pytest-vcr (==1.*)", "urllib3 (==1.*)", "vcrpy (==4.2.1)"]
+lint = ["pre-commit", "ruff (>=0.1.0,<0.2.0)"]
+test = ["mock (>=4.0.0,<5.0.0)", "pytest (>=7.0.0,<8.0.0)", "pytest-asyncio (>=0.18.0,<0.19.0)", "pytest-vcr (>=1.0.0,<2.0.0)", "urllib3 (>=1.0.0,<2.0.0)", "vcrpy (==4.2.1)"]
[[package]]
name = "attrs"
version = "24.2.0"
description = "Classes Without Boilerplate"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -279,6 +290,7 @@ tests-mypy = ["mypy (>=1.11.1)", "pytest-mypy-plugins"]
name = "beautifulsoup4"
version = "4.12.3"
description = "Screen-scraping library"
+category = "main"
optional = false
python-versions = ">=3.6.0"
files = [
@@ -299,23 +311,29 @@ lxml = ["lxml"]
[[package]]
name = "browser-cookie3"
version = "0.19.1"
-description = "Loads cookies from your browser into a cookiejar object so can download with urllib and other libraries the same content you see in the web browser."
+description = ""
+category = "main"
optional = false
python-versions = "*"
-files = [
- {file = "browser-cookie3-0.19.1.tar.gz", hash = "sha256:3031ad14b96b47ef1e4c8545f2f463e10ad844ef834dcd0ebdae361e31c6119a"},
- {file = "browser_cookie3-0.19.1-py3-none-any.whl", hash = "sha256:114e40fe80853211d65f14bc690a7d90c4c287251593dc5767692a950a9006d4"},
-]
+files = []
+develop = false
[package.dependencies]
-jeepney = {version = "*", markers = "python_version >= \"3.7\" and (sys_platform == \"bsd\" or sys_platform == \"linux\")"}
+jeepney = {version = "*", markers = "python_version >= \"3.7\" and sys_platform in \"bsd\" or python_version >= \"3.7\" and sys_platform == \"linux\""}
lz4 = "*"
pycryptodomex = "*"
+[package.source]
+type = "git"
+url = "https://github.com/borisbabic/browser_cookie3.git"
+reference = "refs/pull/215/head"
+resolved_reference = "a3790b9d4d84af96142c0e1c2ea9e207ffed6748"
+
[[package]]
name = "certifi"
version = "2024.8.30"
description = "Python package for providing Mozilla's CA Bundle."
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -327,6 +345,7 @@ files = [
name = "cfgv"
version = "3.4.0"
description = "Validate configuration and produce human readable error messages."
+category = "dev"
optional = false
python-versions = ">=3.8"
files = [
@@ -338,6 +357,7 @@ files = [
name = "charset-normalizer"
version = "3.4.0"
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
+category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@@ -452,6 +472,7 @@ files = [
name = "click"
version = "8.1.7"
description = "Composable command line interface toolkit"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -466,6 +487,7 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""}
name = "colorama"
version = "0.4.6"
description = "Cross-platform colored terminal text."
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
files = [
@@ -477,6 +499,7 @@ files = [
name = "distlib"
version = "0.3.9"
description = "Distribution utilities"
+category = "dev"
optional = false
python-versions = "*"
files = [
@@ -488,6 +511,7 @@ files = [
name = "filedate"
version = "3.0"
description = ""
+category = "main"
optional = false
python-versions = ">=3.4"
files = [
@@ -501,6 +525,7 @@ python-dateutil = "*"
name = "filelock"
version = "3.16.1"
description = "A platform independent file lock."
+category = "dev"
optional = false
python-versions = ">=3.8"
files = [
@@ -517,6 +542,7 @@ typing = ["typing-extensions (>=4.12.2)"]
name = "frozenlist"
version = "1.5.0"
description = "A list-like structure which implements collections.abc.MutableSequence"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -618,6 +644,7 @@ files = [
name = "get-video-properties"
version = "0.1.1"
description = "Get video properties"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -628,6 +655,7 @@ files = [
name = "humanfriendly"
version = "10.0"
description = "Human friendly output for text interfaces using Python"
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
files = [
@@ -642,6 +670,7 @@ pyreadline3 = {version = "*", markers = "sys_platform == \"win32\" and python_ve
name = "identify"
version = "2.6.1"
description = "File identification library for Python"
+category = "dev"
optional = false
python-versions = ">=3.8"
files = [
@@ -656,6 +685,7 @@ license = ["ukkonen"]
name = "idna"
version = "3.10"
description = "Internationalized Domain Names in Applications (IDNA)"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -670,6 +700,7 @@ all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2
name = "inquirerpy"
version = "0.3.4"
description = "Python port of Inquirer.js (A collection of common interactive command-line user interfaces)"
+category = "main"
optional = false
python-versions = ">=3.7,<4.0"
files = [
@@ -688,6 +719,7 @@ docs = ["Sphinx (>=4.1.2,<5.0.0)", "furo (>=2021.8.17-beta.43,<2022.0.0)", "myst
name = "jeepney"
version = "0.8.0"
description = "Low-level, pure Python DBus protocol wrapper."
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -703,6 +735,7 @@ trio = ["async_generator", "trio"]
name = "lz4"
version = "4.3.3"
description = "LZ4 Bindings for Python"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -753,6 +786,7 @@ tests = ["psutil", "pytest (!=3.3.0)", "pytest-cov"]
name = "markdown"
version = "3.7"
description = "Python implementation of John Gruber's Markdown."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -768,6 +802,7 @@ testing = ["coverage", "pyyaml"]
name = "markdown-it-py"
version = "3.0.0"
description = "Python port of markdown-it. Markdown parsing, done right!"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -792,6 +827,7 @@ testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"]
name = "mdurl"
version = "0.1.2"
description = "Markdown URL utilities"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -803,6 +839,7 @@ files = [
name = "mediafire"
version = "0.6.1"
description = "Python MediaFire client library"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -819,6 +856,7 @@ six = "*"
name = "multidict"
version = "6.1.0"
description = "multidict implementation"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -920,6 +958,7 @@ files = [
name = "mutagen"
version = "1.47.0"
description = "read and write audio tags for many formats"
+category = "main"
optional = false
python-versions = ">=3.7"
files = [
@@ -931,6 +970,7 @@ files = [
name = "myjdapi"
version = "1.1.7"
description = "Library to use My.Jdownloader API in an easy way."
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -946,6 +986,7 @@ requests = "*"
name = "nodeenv"
version = "1.9.1"
description = "Node.js virtual environment builder"
+category = "dev"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
files = [
@@ -957,6 +998,7 @@ files = [
name = "oauthlib"
version = "3.2.2"
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+category = "main"
optional = false
python-versions = ">=3.6"
files = [
@@ -973,6 +1015,7 @@ signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"]
name = "pfzy"
version = "0.3.4"
description = "Python port of the fzy fuzzy string matching algorithm"
+category = "main"
optional = false
python-versions = ">=3.7,<4.0"
files = [
@@ -987,6 +1030,7 @@ docs = ["Sphinx (>=4.1.2,<5.0.0)", "furo (>=2021.8.17-beta.43,<2022.0.0)", "myst
name = "pillow"
version = "10.4.0"
description = "Python Imaging Library (Fork)"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1084,6 +1128,7 @@ xmp = ["defusedxml"]
name = "platformdirs"
version = "4.3.6"
description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1100,6 +1145,7 @@ type = ["mypy (>=1.11.2)"]
name = "pre-commit"
version = "4.0.1"
description = "A framework for managing and maintaining multi-language pre-commit hooks."
+category = "dev"
optional = false
python-versions = ">=3.9"
files = [
@@ -1118,6 +1164,7 @@ virtualenv = ">=20.10.0"
name = "prompt-toolkit"
version = "3.0.48"
description = "Library for building powerful interactive command lines in Python"
+category = "main"
optional = false
python-versions = ">=3.7.0"
files = [
@@ -1132,6 +1179,7 @@ wcwidth = "*"
name = "propcache"
version = "0.2.0"
description = "Accelerated property cache"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1239,6 +1287,7 @@ files = [
name = "pycryptodome"
version = "3.21.0"
description = "Cryptographic library for Python"
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
@@ -1280,6 +1329,7 @@ files = [
name = "pycryptodomex"
version = "3.21.0"
description = "Cryptographic library for Python"
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
@@ -1321,6 +1371,7 @@ files = [
name = "pygments"
version = "2.18.0"
description = "Pygments is a syntax highlighting package written in Python."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1335,6 +1386,7 @@ windows-terminal = ["colorama (>=0.4.6)"]
name = "pyreadline3"
version = "3.5.4"
description = "A python implementation of GNU readline."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1349,6 +1401,7 @@ dev = ["build", "flake8", "mypy", "pytest", "twine"]
name = "python-dateutil"
version = "2.9.0.post0"
description = "Extensions to the standard Python datetime module"
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
files = [
@@ -1363,6 +1416,7 @@ six = ">=1.5"
name = "pyyaml"
version = "6.0.2"
description = "YAML parser and emitter for Python"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1425,6 +1479,7 @@ files = [
name = "requests"
version = "2.32.3"
description = "Python HTTP for Humans."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1446,6 +1501,7 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"]
name = "requests-oauthlib"
version = "2.0.0"
description = "OAuthlib authentication support for Requests."
+category = "main"
optional = false
python-versions = ">=3.4"
files = [
@@ -1464,6 +1520,7 @@ rsa = ["oauthlib[signedtoken] (>=3.0.0)"]
name = "requests-toolbelt"
version = "1.0.0"
description = "A utility belt for advanced users of python-requests"
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
files = [
@@ -1478,6 +1535,7 @@ requests = ">=2.0.1,<3.0.0"
name = "rich"
version = "13.9.3"
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
+category = "main"
optional = false
python-versions = ">=3.8.0"
files = [
@@ -1496,6 +1554,7 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"]
name = "ruff"
version = "0.7.2"
description = "An extremely fast Python linter and code formatter, written in Rust."
+category = "dev"
optional = false
python-versions = ">=3.7"
files = [
@@ -1523,6 +1582,7 @@ files = [
name = "send2trash"
version = "1.8.3"
description = "Send file to trash natively under Mac OS X, Windows and Linux"
+category = "main"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
@@ -1539,6 +1599,7 @@ win32 = ["pywin32"]
name = "six"
version = "1.16.0"
description = "Python 2 and 3 compatibility utilities"
+category = "main"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
files = [
@@ -1550,6 +1611,7 @@ files = [
name = "soupsieve"
version = "2.6"
description = "A modern CSS selector implementation for Beautiful Soup."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1561,6 +1623,7 @@ files = [
name = "types-python-dateutil"
version = "2.9.0.20241003"
description = "Typing stubs for python-dateutil"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1572,6 +1635,7 @@ files = [
name = "typing-extensions"
version = "4.12.2"
description = "Backported and Experimental Type Hints for Python 3.8+"
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1583,6 +1647,7 @@ files = [
name = "update-checker"
version = "0.18.0"
description = "A python module that will check for package updates."
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1602,6 +1667,7 @@ test = ["pytest (>=2.7.3)"]
name = "urllib3"
version = "2.2.3"
description = "HTTP library with thread-safe connection pooling, file post, and more."
+category = "main"
optional = false
python-versions = ">=3.8"
files = [
@@ -1619,6 +1685,7 @@ zstd = ["zstandard (>=0.18.0)"]
name = "virtualenv"
version = "20.27.1"
description = "Virtual Python Environment builder"
+category = "dev"
optional = false
python-versions = ">=3.8"
files = [
@@ -1639,6 +1706,7 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess
name = "wcwidth"
version = "0.2.13"
description = "Measures the displayed width of unicode strings in a terminal"
+category = "main"
optional = false
python-versions = "*"
files = [
@@ -1650,6 +1718,7 @@ files = [
name = "yarl"
version = "1.17.0"
description = "Yet another URL library"
+category = "main"
optional = false
python-versions = ">=3.9"
files = [
@@ -1745,4 +1814,4 @@ propcache = ">=0.2.0"
[metadata]
lock-version = "2.0"
python-versions = ">=3.11,<3.13"
-content-hash = "773f1e4dbdc32f5e67a96ecb1b1c2e924853fd1501662cb115d135fd3b115f2a"
+content-hash = "9107e286db08207572c6e51c3a15a1d6a79fa3f2233f1014332ac22f469d51ed"
diff --git a/pyproject.toml b/pyproject.toml
index 9ad195747..24c9e54a4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ platformdirs = "^4.2.2"
rich = "^13.7.0"
pyyaml = "^6.0.1"
certifi = "^2024.2.2"
-browser-cookie3 = "^0.19.1"
+browser-cookie3 = {git = "https://github.com/borisbabic/browser_cookie3.git", rev = "refs/pull/215/head"}
beautifulsoup4 = "^4.12.2"
filedate = "^3.0"
aiosqlite = "0.17.0"