{"action":"created","issue":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/213","labels_url":"https://api.github.com/repos/Fullscreen/yt/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/Fullscreen/yt/issues/213/comments","events_url":"https://api.github.com/repos/Fullscreen/yt/issues/213/events","html_url":"https://github.com/Fullscreen/yt/issues/213","id":92767096,"number":213,"title":"Batch Playlist Lookup","user":{"login":"mparodi","id":1238560,"avatar_url":"https://avatars.githubusercontent.com/u/1238560?v=3","gravatar_id":"","url":"https://api.github.com/users/mparodi","html_url":"https://github.com/mparodi","followers_url":"https://api.github.com/users/mparodi/followers","following_url":"https://api.github.com/users/mparodi/following{/other_user}","gists_url":"https://api.github.com/users/mparodi/gists{/gist_id}","starred_url":"https://api.github.com/users/mparodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mparodi/subscriptions","organizations_url":"https://api.github.com/users/mparodi/orgs","repos_url":"https://api.github.com/users/mparodi/repos","events_url":"https://api.github.com/users/mparodi/events{/privacy}","received_events_url":"https://api.github.com/users/mparodi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-03T00:51:27Z","updated_at":"2015-07-22T14:56:47Z","closed_at":null,"body":"Hello,\r\n\r\nI've a number of playlists, for each playlist I want to process all its videos, and for each video I want to get some data (title, view_count, like_count, comment_count, ...).\r\n\r\nThe problem is that I'm using the following code, which doesn't fetch the statistics in advance so it takes about 1s for each video, which is way too long.\r\n\r\nHow do I download all the statistics in advance?\r\n\r\n```ruby\r\n# Example\r\n\r\n> playlist = Yt::Playlist.new(id: \"PL55713C70BA91BD6E\")\r\n=> #<Yt::Models::Playlist:0x00000003fdb788 @auth=nil, @id=\"PL55713C70BA91BD6E\">\r\n\r\n> playlist.playlist_items.map {|item| puts item.video.view_count}\r\n594934110\r\n281465291\r\n138438681\r\n44146678\r\n51594886\r\n803499943\r\n```"},"comment":{"url":"https://api.github.com/repos/Fullscreen/yt/issues/comments/123749179","html_url":"https://github.com/Fullscreen/yt/issues/213#issuecomment-123749179","issue_url":"https://api.github.com/repos/Fullscreen/yt/issues/213","id":123749179,"user":{"login":"mparodi","id":1238560,"avatar_url":"https://avatars.githubusercontent.com/u/1238560?v=3","gravatar_id":"","url":"https://api.github.com/users/mparodi","html_url":"https://github.com/mparodi","followers_url":"https://api.github.com/users/mparodi/followers","following_url":"https://api.github.com/users/mparodi/following{/other_user}","gists_url":"https://api.github.com/users/mparodi/gists{/gist_id}","starred_url":"https://api.github.com/users/mparodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mparodi/subscriptions","organizations_url":"https://api.github.com/users/mparodi/orgs","repos_url":"https://api.github.com/users/mparodi/repos","events_url":"https://api.github.com/users/mparodi/events{/privacy}","received_events_url":"https://api.github.com/users/mparodi/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T14:56:46Z","updated_at":"2015-07-22T14:56:46Z","body":"Hey guys, I really need this feature. Do you plan to fix this soon? I guess I can fork it and send a pull request but I barely know how this gem works. Cheers!"}}