Skip to main content

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


Download files

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

Source Distribution

ripper-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

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