Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

aio-downloader-cli

Downloader wrapper

downloaderfacebookthreadstiktok
Published23 Jan 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

aio-downloader

PyPI Python License

aio-downloader là thư viện Python để parse URL và tải media trực tiếp từ nhiều nền tảng

Install

pip install aio-downloader
playwright install chromium

CLI

aio-down "URL" -P downloads --all -o "%(title)s_%(idx)s.%(ext)s"

Options (tóm tắt)

  • -P, --paths: thư mục lưu
  • -o, --outtmpl: output template
  • --all: tải tất cả media
  • --headful: mở browser UI
  • --no-unlock: tắt unlock
  • --timeout: timeout giây
  • --write-json: ghi JSON cạnh file
  • --quiet: tắt progress

Library

from aio_downloader import DownloadWorker

w = DownloadWorker(allMedias=True, outtmpl="%(title)s_%(idx)s.%(ext)s")
res = w.DownloadSync("URL", "downloads")
print(res.paths)

Progress Hooks

Hook nhận dict trạng thái.

from aio_downloader import DownloadWorker

def Hook(d):
    if d["status"] == "downloading":
        print(d["filename"], d.get("downloaded_bytes"), d.get("total_bytes"))
    elif d["status"] == "finished":
        print("done", d["filename"])

w = DownloadWorker(progressHooks=[Hook])
w.DownloadSync("URL", "downloads")

Docs

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
requests>=2.31.0runtime
playwright
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.10",
  "evaluation": "NOT_EVALUATED"
}
playwright>=1.40.0runtime

Distribution files

2 collected
aio_downloader_cli-0.1.0-py3-none-any.whl

bdist_wheel · 13.13 KB · Python py3

Source file
aio_downloader_cli-0.1.0.tar.gz

sdist · 12.35 KB · Python source

Source file

Repository

PENDING
you/aio-downloader

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:aaa2201bb2665f5db2fd46e05611ef2d883fc5e14f9446b3737c2139ea2c936a

Other collected versions

View all collected versions →