Commits

MrTux Hdb committed 4814065

Change flickr_regex because Flickr change your photo_id to 11 digit

Comments (0)

Files changed (1)

flickr-photo-downloader.rb

 # http://www.flickr.com/photos/{user-id}/sets/ - all photosets
 # http://www.flickr.com/photos/{user-id}/sets/{photoset-id} - single photoset
 
-flickr_regex = /http[s]?:\/\/(?:www|secure).flickr.com\/(groups|photos)\/[\w@-]+(?:\/(\d{10}|sets|pool|favorites)[\/]?)?(\d{17})?(?:\/with\/(\d{10}))?[\/]?$/
+flickr_regex = /http[s]?:\/\/(?:www|secure).flickr.com\/(groups|photos)\/[\w@-]+(?:\/(\d{11}|sets|pool|favorites)[\/]?)?(\d{17})?(?:\/with\/(\d{11}))?[\/]?$/
 
 # Photostream Regex
 # photo_stream_regex  = /http[s]?:\/\/(?:www|secure).flickr.com\/photos\/([\w@]+)[\/]?$/