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 details)

Uploaded Source

File details

Details for the file ripper-0.0.1.tar.gz.

File metadata

  • Download URL: ripper-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ripper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fd20703419339c1b16ef9d6f87e06afd4c830a0e49a16c000d510dc7f82e3eaa
MD5 3bb0816cb3fe6a57f0f7d5c362380b79
BLAKE2b-256 cbd3230e29ba5106c99f045b5f4b275b6d1127ee43e3c070eb374a7784b5e7b8

See more details on using hashes here.

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