I'm trying to fetch whole Youtube playlist, but definitely something is going wrong. It looks like playlistItems do not return all items. To be more precise, for larger playlist it always returns 26 elements.
EDITED
This issue affect only playlist with "50+ Videos" hover
The fun fact that it also affect Youtube Website
When you open following link you will get whole playlist on the right side
https://www.youtube.com/watch?v=OBwl2glmqC0&list=PLhy8TB5U6n17R78U7usaLQfCC8nbnG8Nc
When you do the same on the "Affected" playlist, it always ends on 26th element
https://www.youtube.com/watch?v=p7ZsBPK656s&list=RDQMxZTL9gI53Rg
(Additionaly "Affected" playlist always have a shorter URL)
/EDITED
F.i.
https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&maxResults=50&playlistId=RDZgEY-EkNGN8
Returns
/**
* API response
*/
{
"kind": "youtube#playlistItemListResponse",
"etag": "\"m2yskBQFythfE4irbTIeOgYYfBU/Juh7DGrIhXG9sC1xb0BKgzZ5Mqo\"",
"pageInfo": {
"totalResults": 26,
"resultsPerPage": 50
},
"items": [
....so on
The total results shows that this playlist contain 26 elements which is not true because it have more than 50 elements
ex. 51st element
https://www.youtube.com/watch?v=QptgChaqIQY&list=RDZgEY-EkNGN8&index=51
Does someone experienced similar issue or maybe it's some kind of limitation but I haven't found any information about that.
Thanks in advance.