2014-05-12, 21:16
(2014-05-12, 21:02)Lunatixz Wrote: Duration is available from youtube. Review my youtube code to learn how.
Oh, I can get duration for the first 100 videos. After that it starts failing.
Your code has the advantage of pulling the duration from a single API request (The whole playlist, the whole users' channel, etc). But, because the videos on Reddit don't have any relationship between them, I'm forced to get the duration one-by-one with an API request for each video, which eventually causes the API to start sending back 403 - Access Denied errors; and not just for my part of the script. All future Youtube requests will also fail...