Now works!
This commit is contained in:
@@ -58,7 +58,7 @@ def copy_url(task_id: TaskID, url: str, path: str) -> None:
|
|||||||
print(f"[#1d4b6e][{strftime('%H:%M:%S')}][/] [#8dc789]Downloaded {os.path.abspath(path)}[/]")
|
print(f"[#1d4b6e][{strftime('%H:%M:%S')}][/] [#8dc789]Downloaded {os.path.abspath(path)}[/]")
|
||||||
|
|
||||||
|
|
||||||
def dl(urls, dest_dir: str):
|
def dl(urls: list, dest_dir: str = ".") -> None:
|
||||||
if not os.path.isdir(dest_dir):
|
if not os.path.isdir(dest_dir):
|
||||||
os.makedirs(dest_dir, exist_ok=True)
|
os.makedirs(dest_dir, exist_ok=True)
|
||||||
with progress:
|
with progress:
|
||||||
5
setup.py
5
setup.py
@@ -5,12 +5,11 @@ with open("README.md", "r") as fh:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="ezzdl",
|
name="ezzdl",
|
||||||
version="1.0.0",
|
version="3.0.0",
|
||||||
scripts=["download.py"],
|
|
||||||
author="BarsTiger",
|
author="BarsTiger",
|
||||||
description="Cool download manager based on rich and its sample code",
|
description="Cool download manager based on rich and its sample code",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
py_modules=["ezzdl"],
|
packages=["ezzdl"],
|
||||||
license='MIT',
|
license='MIT',
|
||||||
url='https://github.com/BarsTiger/ezzdl',
|
url='https://github.com/BarsTiger/ezzdl',
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user