douban downloader
一个简单的下载豆瓣相册、图集、影人图片的小脚本
A simple python script to download douban albums and celebrity
Introduction
目前支持的下载类型
-
豆瓣相册,比如
douban-dl https://www.douban.com/photos/album/1641641224/ -
影人相册图片
douban-dl https://movie.douban.com/celebrity/1335340/ douban-dl https://movie.douban.com/celebrity/1335340/photos -
用户所有相册
douban-dl https://www.douban.com/people/einverne/ -
电影剧照
douban-dl https://movie.douban.com/subject/26804147
Installation
$ pip install douban-dl
Usage
$ douban-dl url [path]
url should be like this:
https://www.douban.com/photos/album/<album_id>
https://movie.douban.com/celebrity/<celebrity_id>
https://www.douban.com/people/<douban_id>/photos
path is the folder where images saved, defaults to ./douban.
如果没有指定 path ,默认会保存到当前目录下 douban 文件夹中。
SELF-PROMOTION
如果想要导出豆瓣标注的数据,可以参看我这个项目 douban-export
License
MIT
Contribute
Feel free to file an issue, or make a pr.
Metadata
Release files for douban-dl 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| douban-dl-0.0.6.tar.gz | 5.2 kB | Without provenance | Details for douban-dl-0.0.6.tar.gz |
Release files / douban-dl-0.0.6.tar.gz
| Download URL | douban-dl-0.0.6.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3f4b4650f9a52997037911fc2f22e423370c54a3ced4b56acb033ba071db45d
|
|
BLAKE2b-256 checksum How to use checksums |
07a705b6a6cfc62cac2c8d8b2d9fd51c7e1f19bfea7062acbde6dc3568c1d0d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for douban-dl 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.