Skip to main content

Easy-to-use package for downloading originals of images from web sites

Project description

Easy-to-use package for downloading originals of images from web sites such as Instagram, Google Images, Flickr etc.

Download

pip install (recomended) :

$ pip install imagesifter

Git clone:

$ git clone https://github.com/HedonistAnt/ImageSifter.git

Usage

import imagesifter
import urllib

quote = 'sifter'
quoteURL = urllib.quote(quote)
url = 'http://images.google.com/images?hl=ru&q=' + quoteURL + '&sa=N&start=$p&ndsp=20&sout=1'
imagesifter.sift_images(url=url, format_list=["jpg", "jpeg", "png"], download_path='img', size_limit=10000000,
                      count_limit=10)

Note: New folder will be created in current directory. Default folder name is “images”. The maximum file size (size_limit) is in bytes.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
imagesifter-1.0.6-py2-none-any.whl (6.1 kB) Copy SHA256 hash SHA256 Wheel py2
imagesifter-1.0.6-py3-none-any.whl (4.9 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page