Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Image Ripper for the Pythonic Soul

Project description

https://readthedocs.org/projects/ripper/badge/?version=latest https://travis-ci.org/kevinaloys/ripper.svg?branch=master

Rip Images. The Pythonic Way.

Ideas

  • Allow elegant Image Ripping from websites.
  • Ability to Save in a Particular Directory.
  • Default get. Rip Images of Type ‘.jpg’.
  • For more, Specify Format of the Image.
  • Simple Save. Images Saved to Folder defaulting to Title of the Web Page.

Usage

Simple Usage:

>>> import ripper

>>> r = ripper()
>>> r.get('http://website.com')
>>> r.url
['http://website.com/image.jpg','http://website.com/hello.jpg']
>>> r.save
Successfully Saved 2 Images.

Advanced Usage:

>>> import ripper

>>> r = ripper.get('http://website.com',type=(jpg,png,gif))
>>> r.url
['http://website.com/img.jpg','http://website.com/hello.png','http://website.com/hello.gif']
>>> r.save('/home/directory')
Successfully Saved 3 Images to /home/directory

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
ripper-0.0.1.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Nov 15, 2014

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