Skip to main content

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.

Files for photo-dl, version 0.0.20
Filename, size File type Python version Upload date Hashes
Filename, size photo_dl-0.0.20-py3-none-any.whl (13.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size photo-dl-0.0.20.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page