Project

flickrip

0.0
No commit activity in last 3 years
No release in over 3 years
Inspects flickr http/dom, and allows downloading of images and full sets
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.5

Runtime

 Project Readme

About

Flickrip is a HTTP 'client' for Flickr. It supports parsing of Flickr Url's to Flickr 'tokens;

url = "http://www.flickr.com/photos/marshallmickelson/5092430638/in/set-72157624713794623/"
Flickrip::UrlParser.parse( url )

> {:user=>"marshallmickelson",:imageid=>5092430638,:set=>72157624713794623}

Flickrip also comes stock with an easy way to 'browse' to the actual image hidden behind Flickr's un-userfriendly website

url = "http://www.flickr.com/photos/marshallmickelson/5092430638/in/set-72157624713794623/"
flickr = Flickrip::FlickrImage.new url
flickr.original_size  
# nil, since this photo does not allow viewing of an original size

flickr.largest_image
# opens the largest image size flickr supports for this image

Caveat

This gem does not use Flickr's official API, but scrapes portions of the actual DOM.