erratic
This commit is contained in:
parent
bf9e232ab3
commit
91d3c3eca9
1 changed files with 9 additions and 5 deletions
|
@ -145,11 +145,15 @@ end
|
||||||
def exfoliate (set_id)
|
def exfoliate (set_id)
|
||||||
flickr.photosets.getPhotos(photoset_id: set_id, extras: 'views,tags,date_taken').photo.map do
|
flickr.photosets.getPhotos(photoset_id: set_id, extras: 'views,tags,date_taken').photo.map do
|
||||||
|photo|
|
|photo|
|
||||||
puts "title: #{photo.title} \nviews: #{photo.views}"
|
# puts "title: #{photo.title} \nviews: #{photo.views}"
|
||||||
puts "favourited by: #{favourites(photo)}"
|
# puts "favourited by: #{favourites(photo)}"
|
||||||
puts "in sets: #{get_sets(photo)}"
|
# puts "in sets: #{get_sets(photo)}"
|
||||||
puts "in groups: #{get_groups(photo)}"
|
# puts "in groups: #{get_groups(photo)}"
|
||||||
puts "/// / /"
|
# puts "/// / /"
|
||||||
|
|
||||||
|
puts "#{photo.title},#{photo.views},#{favourites(photo).length},#{get_sets(photo)}, #{get_groups(photo)},#{photo.tags}\n"
|
||||||
|
|
||||||
|
#puts "#{photo.title},#{photo.views},#{favourites(photo).length}\n"
|
||||||
end
|
end
|
||||||
puts "tags by freq: #{photoset_tags(set_id)}"
|
puts "tags by freq: #{photoset_tags(set_id)}"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue