Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

YouTube Data API results differ from YouTube search bar results

$
0
0

I was trying out the YouTube Data API and after trying different query searches I found out that especially with filters the API returns different results than my YouTube Data API. Is there a reason for that?

For example I tried to get the most viewed Videos with the query string "Cooking":

    try:        response = service.search().list(            part='snippet',            type='video',            order='viewCount',            q='Cooking',            maxResults=10        ).execute()

it seems to return Videos with high view counts but nothing close to the view counts I get when I type "Cooking" in the YouTube search bar with the filters "video" and sort by "view count". Can someone explain how to fix it or why it doesn't work?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>