From e13c80592f0d0ee1ea910ef6c846e3bf3a596df3 Mon Sep 17 00:00:00 2001 From: 7x11x13 Date: Sat, 22 Jun 2024 13:29:55 -0400 Subject: [PATCH] Use docopt-ng --- free_bandcamp_downloader/__main__.py | 2 +- poetry.lock | 13 +++++++------ pyproject.toml | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/free_bandcamp_downloader/__main__.py b/free_bandcamp_downloader/__main__.py index 56a6e6c..b5e9152 100644 --- a/free_bandcamp_downloader/__main__.py +++ b/free_bandcamp_downloader/__main__.py @@ -53,7 +53,7 @@ from configparser import ConfigParser from dataclasses import dataclass from http.cookiejar import MozillaCookieJar from typing import Dict, Optional, Set -from urllib.parse import parse_qs, urljoin, urlparse, urlsplit +from urllib.parse import urljoin, urlsplit import mutagen import pyrfc6266 diff --git a/poetry.lock b/poetry.lock index a01eec0..af89416 100644 --- a/poetry.lock +++ b/poetry.lock @@ -175,13 +175,14 @@ files = [ ] [[package]] -name = "docopt" -version = "0.6.2" -description = "Pythonic argument parser, that will make you smile" +name = "docopt-ng" +version = "0.9.0" +description = "Jazzband-maintained fork of docopt, the humane command line arguments parser." optional = false -python-versions = "*" +python-versions = ">=3.7" files = [ - {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"}, + {file = "docopt_ng-0.9.0-py3-none-any.whl", hash = "sha256:bfe4c8b03f9fca424c24ee0b4ffa84bf7391cb18c29ce0f6a8227a3b01b81ff9"}, + {file = "docopt_ng-0.9.0.tar.gz", hash = "sha256:91c6da10b5bb6f2e9e25345829fb8278c78af019f6fc40887ad49b060483b1d7"}, ] [[package]] @@ -386,4 +387,4 @@ zstd = ["zstandard (>=0.18.0)"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "110161d32164c3a61a75e6cccd2c99e1d95130f9f810290c30dab899212cc577" +content-hash = "b167eea04fb32fb22688a58b4a4cab72d2ad7bd468f82b19fb06bb5c20271dd9" diff --git a/pyproject.toml b/pyproject.toml index c475bf2..fdf1d0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "free-bandcamp-downloader" -version = "0.3.0" +version = "0.3.1" description = "Download free and name-your-price albums from Bandcamp" authors = ["7x11x13 "] license = "MIT" @@ -16,8 +16,8 @@ beautifulsoup4 = "^4.12.2" tqdm = "^4.66.1" pyrfc6266 = "^1.0.2" mutagen = "^1.47.0" -docopt = "^0.6.2" 1secmail = "^1.1.0" +docopt-ng = "^0.9.0" [build-system]