一个简单的下载豆瓣相册、图集、影人图片的小脚本
A simple python script to download douban albums and celebrity
目前支持的下载类型
-
豆瓣相册,比如
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
$ pip install douban-dl
$ 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 文件夹中。
MIT
Feel free to file an issue, or make a pr.