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.5.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.5-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for v2dl_lite-0.1.5.tar.gz
Algorithm Hash digest
SHA256 045f8d899cd0c38a63bf0d6b016a303ff631fbc2940e5705d15b359b74e721c0
MD5 74802961077bb9d1f370879da36068a9
BLAKE2b-256 dcfe5403d7cb6c698fd4b8160de15df4ac53bc37c481ac3a6184595dd094d026

See more details on using hashes here.

Provenance

The following attestation bundles were made for v2dl_lite-0.1.5.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.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for v2dl_lite-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 860062596839a34f2c5d4ebb961ed20e2a7559bd24f77d043ce33f0c2abad4ae
MD5 8271d26f3cb5f447d331a4ef8d76f922
BLAKE2b-256 340cf9b3027b4e26910fab659cfe35c74923d9b5f258a712d506fc94654c6d42

See more details on using hashes here.

Provenance

The following attestation bundles were made for v2dl_lite-0.1.5-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