My channel has over 4000 playlists and I am trying to access them all. Using the API and get Users playlist URI (http://gdata.youtube.com/feeds/api/users/TractorHouse/playlists?v=2&max-results=50&start-index=1) it works fine. You can only get 50 results at a time, but you can specify a start index. So if you start at 1 and download 50, you get the first 50 playlists. Increment the start index to 51 and get the next 50. Now we have the top 100 playlists, and so fourth. Once we have our start index to 951 and max results of 50, we have gotten 1000 playlists. My code trys to go to a start index of 1001 but the api returns "You cannot request beyond item 1000."
How can I go about get more than 1000 playlists using the YouTube API. Querying using the query parameter "q=" doesn't seem to work too well in my case either. Although I am giving the parameter an exact playlist title name it doesn't return any information.
Any help is appreciated. Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/XBk_2yZMYrIJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment