I am using Youtube Data API version 3 and it seems there is an internal threshold (200) to limit the number of results. While the nextPageToken is available, the api returns an empty list. I am trying to get a list of videos from an specific channel ('UCJEy8aBnqDymMIcJCh72gMw'), it contains more than 3K videos and you can only get the first 200 and after that you will getting next tokens but the items are empty.
Asked
Active
Viewed 795 times
8
-
@ramtin-m-seraj Maybe Some Videos Restrict in your area you can try to check with other region or country – Alish Feb 22 '17 at 06:41
-
@ramtin-m-seraj Use This tag in your link `®ionCode=US` – Alish Feb 22 '17 at 06:43
-
@Alish I tried that as well and also `publishAfter` and `publishBefore`, but non of them worked. thanks – Ramtin M. Seraj Feb 23 '17 at 01:56
-
I have same problem, not always 200 limit, for some keywords it reached 300+, sometimes 400+, and never over 500. – Cl0udSt0ne Feb 28 '17 at 17:44
-
I have the same problem. Did you find a solution? – Fasoeu Jul 27 '17 at 07:22
-
@Fasoeu Not really, seems YouTube do it intentionally. – Ramtin M. Seraj Jul 27 '17 at 16:45
-
@RamtinM.Seraj thank you. After further investigation I found this: https://stackoverflow.com/questions/25918405/youtube-api-v3-page-tokens. See the accepted answer. It seems it depends on the YouTube' search engine itself and its probabilistic calculations – Fasoeu Jul 28 '17 at 08:09
-
@Fasoeu Thanks, that was interesting. – Ramtin M. Seraj Jul 28 '17 at 19:47