Skip to main content

A super lightweight version of V2PH downloader

Project description

V2DL-Lite

English

超級輕量版本的 V2PH-Downloader

Why V2DL-Lite?

用瀏覽器自動化工具爬蟲覺得心有不甘,於是寫了一個 lite 版本。

此版本移除肥大的自動化工具,沒有麻煩的密碼設定,沒有眼花撩亂的自定義選項,只要準備好 cookie 檔案即可輕鬆下載。

Usage

pip install v2dl-lite  # 使用 pip install "v2dl-lite[v2dl]" 同時安裝輕量版和原版
v2dl-lite <url or urls.txt>  

超方便!

Cookie 登入

Cookie 登入是必要的,使用 Cookie-EditorNetscape 格式匯出並且儲存在設定資料夾中 (預設在 ~/.config/v2dl)。腳本會自動掃描所有包含 "cookie" 的 txt 檔案。

選項

  • -f: 不跳過已經存在的相簿
  • -d: 設定下載資料夾 (default: ~/Downloads/v2dl)
  • -c: 設定 cookies 資料夾 (default: ~/.config/v2dl)
  • -l: 設定語言,用於命名下載資料夾 (default: zh-TW)
  • -s: 選擇客戶端會話套件,預設使用 (default: curl)
  • -v: 顯示套件版本

Notes

  • 支援多 cookies 檔案
  • 網站的機器人檢查很嚴格,所以此版本可能需要頻繁的更新 cookies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

v2dl_lite-0.1.4.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

v2dl_lite-0.1.4-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file v2dl_lite-0.1.4.tar.gz.

File metadata

  • Download URL: v2dl_lite-0.1.4.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for v2dl_lite-0.1.4.tar.gz
Algorithm Hash digest
SHA256 feb775e2c0734980f8f21a9cc37c4d9d24cd3b101371ff433f77f71a5f513d77
MD5 a26371a7eeac22af350a7ec4e46b8286
BLAKE2b-256 272ac4733251dab3726777bbb777314b5d146892a7b75c4ae338ef3f12a55cad

See more details on using hashes here.

Provenance

The following attestation bundles were made for v2dl_lite-0.1.4.tar.gz:

Publisher: publish.yml on ZhenShuo2021/V2DL-Lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file v2dl_lite-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: v2dl_lite-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for v2dl_lite-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fde2250329001bca8a802af6eb2f4b191e9b0982b577623139e6c40640e3349c
MD5 3e73cfa92c2ef8ada4926813f3bbd644
BLAKE2b-256 a3f10c31a8c3ad7c39c28e8022e72a158d2334aa1b27a3fac832bcfd3a12be16

See more details on using hashes here.

Provenance

The following attestation bundles were made for v2dl_lite-0.1.4-py3-none-any.whl:

Publisher: publish.yml on ZhenShuo2021/V2DL-Lite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page