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.

Source Distribution

photo-dl-0.0.20.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

photo_dl-0.0.20-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file photo-dl-0.0.20.tar.gz.

File metadata

  • Download URL: photo-dl-0.0.20.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6

File hashes

Hashes for photo-dl-0.0.20.tar.gz
Algorithm Hash digest
SHA256 6be758de4c175864810c6f73850d33adf2f848c0d9101eeb775b1e82f305aad5
MD5 2a3d968ae97ce28c93fb54973a2762a9
BLAKE2b-256 f9070545a03332dd9f8df99cfbef579a574674d91b1449ae2323bbd595154719

See more details on using hashes here.

File details

Details for the file photo_dl-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: photo_dl-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6

File hashes

Hashes for photo_dl-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 820e421d577fc69cc9302e074bfc3633752968e5da8d99aa7499d805b1aecce1
MD5 8709d6e232743202fa170c1a931e1b5c
BLAKE2b-256 b7ffde95c32ea686e7544b0837ff58bd50a58eebb5c0f2ab3c85db5ec036d109

See more details on using hashes here.

Supported by

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