I want to get some minimal statistic Information from a youtube-video for "like", "dislike", "view" count. However, i got so far, that i can retrieve the JSON for the Videoinformation, but there is none of the above mentioned information.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Have you tried videos/getRating
Example:
So, without using the Google API and and doing any O-AUTH, i am just parsing the website and getting like count and title.
import requests import re
The following query using the
youtubeAnalytics.reports.query
portion of the YouTube Analytics API v1 will return the count of views, likes, and dislike counts for the channel and time span specified:Running the query does require the user to be authorized. You can use the APIs Explorer to test and modify the above query.