youtube_it icon indicating copy to clipboard operation
youtube_it copied to clipboard

Fix for pulling complete comments

Open amalagaura opened this issue 10 years ago • 1 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

amalagaura avatar Jan 19 '15 22:01 amalagaura

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.

amalagaura avatar Jan 19 '15 23:01 amalagaura