Skip to main content

douban downloader, include album, celebrity

Project description

douban downloader

一个简单的下载豆瓣相册、图集、影人图片的小脚本

A simple python script to download douban albums and celebrity

Introduction

目前支持的下载类型

  1. 豆瓣相册,比如

     douban-dl https://www.douban.com/photos/album/1641641224/
    
  2. 影人相册图片

     douban-dl https://movie.douban.com/celebrity/1335340/
     douban-dl https://movie.douban.com/celebrity/1335340/photos
    
  3. 用户所有相册

     douban-dl https://www.douban.com/people/einverne/
    
  4. 电影剧照

     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.

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

douban-dl-0.0.6.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file douban-dl-0.0.6.tar.gz.

File metadata

  • Download URL: douban-dl-0.0.6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for douban-dl-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b3f4b4650f9a52997037911fc2f22e423370c54a3ced4b56acb033ba071db45d
MD5 b963a15e6e36902f186acad020f0fddd
BLAKE2b-256 07a705b6a6cfc62cac2c8d8b2d9fd51c7e1f19bfea7062acbde6dc3568c1d0d4

See more details on using hashes here.

Supported by

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