youtube_it
youtube_it copied to clipboard
Fix for pulling complete comments
Thanks for this gem, it is very useful. I used it with the v2 API because I need comments.
I did this monkey-patch to add 2 methods to allow pulling all comments using the "next" url in the response. I don't know what approach can be used to properly integrate but the methods need to return metadata instead of only comments.
Please see if it is useful. It has to be called with the option: {'orderby' => 'published'}
https://gist.github.com/amalagaura/8821f2b26cc3b00a1b13
Oh I see you have done paging with videos. Sorry I did not see that. If you like I can try to do a proper pull request, but it would mess up the "comments" method of course because it would return a different object.