A photo album downloader
Project description
photo-dl
photo-dl is a command-line downloader which helps to crawl photo albums from Supported sites
Installation
Dependencies
- python >= 3.5
- requests >= 2.12.0
- lxml >= 3.7.0
Install via Pip
$ pip install --upgrade photo-dl
Install from source
$ git clone https://github.com/windrises/photo-dl.git
$ cd photo-dl
$ python setup.py install
Usage
Assign a url or .txt file (one url per line)
$ photo-dl url
$ photo-dl xxx.txt
Examples
$ photo-dl https://www.meituri.com/t/1820/
$ photo-dl urls.txt
Configuration
modify photo_dl/config.py
configuration | default |
---|---|
headers | User-Agent... |
timeout | 15 sec |
max_retries | 3 |
log_file | ./log.txt |
threads | 4 |
Supported sites
Temporarily only supports two sites
site | feature | example |
---|---|---|
https://www.meituri.com/ | model | https://www.meituri.com/t/1820/ |
album | https://www.meituri.com/a/7893/ | |
search | https://www.meituri.com/search/鏈夋潙鏋剁磾 | |
https://www.jav.ink/ | tag/search/category | https://www.jav.ink/category/graphis-collection-2002-2018/ [NSFW] |
album | https://www.jav.ink/graphis-collection-2002-2018/yura-kano-銆巗weet-memories銆弙ol-2/ [NSFW] |
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
photo-dl-0.0.20.tar.gz
(5.9 kB
view hashes)
Built Distribution
photo_dl-0.0.20-py3-none-any.whl
(13.1 kB
view hashes)
Close
Hashes for photo_dl-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820e421d577fc69cc9302e074bfc3633752968e5da8d99aa7499d805b1aecce1 |
|
MD5 | 8709d6e232743202fa170c1a931e1b5c |
|
BLAKE2b-256 | b7ffde95c32ea686e7544b0837ff58bd50a58eebb5c0f2ab3c85db5ec036d109 |