List all videos on youtube

I am looking for a way to list each video on YouTube. Do you have any ideas for this?

YouTubeQuery query = new YouTubeQuery(YouTubeQuery.DefaultVideoUri); query.Query = ""; //<-Research key// query.OrderBy = "viewCount"; query.SafeSearch = YouTubeQuery.SafeSearchValues.None; Feed<Video> videoFeed = request.Get<Video>(query); 

Thus, youtube returns only 1,000,000 results.

+4
source share
3 answers

From Youtube Api Page;

The tag has a maximum value of 1,000,000. For example, if the tag value is 1,000,000, you can be sure that there are not exactly one million results, but rather that there are so many matches that we just stopped counting. In addition, the maximum value for this tag is 1,000,000.

+11
source

YouTube correctly sets the maximum number of results to return. According to YouTube statistics, there are 120 million videos that have been identified to contain copyrighted material. The total number of videos was about 140 million in 2008.

Assuming an average of 8 characters per title video, transferring the names of these 140 million videos alone will result in a download of about one GB, the overhead of the data structure not taken into account.

+1
source

This is not a problem with your code. I assume that the server returns no more than 1,000,000 results, since this is an interesting number, right? Google has set a limit to avoid recounting the total number of videos at any time or for some other unknown reason.

Greetings

0
source

All Articles