Skip to content

kevinaloys/ripper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ripper

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','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

About

Image Ripper for the Pythonic Soul™

Resources

Stars

Watchers

Forks

Packages

No packages published