I’ll start with an example
To get embeded code on vimeo platform I use the following python code:
def get_vimeo_embed(video_url):
response = requests.get(f”https://vimeo.com/api/oembed.json?url={video_url}”)
response = response.json()
response_embed = response[“html”]
return response_embed
Vimeo provides a link where you can get data about the video, and then extract the iframe itself using the “html” key
I didn’t find anything similar in the YouTube documentation, tell me where I can find such a link or another tool
I want to get video data using a get() request as described above
Couldn’t find any information
Andrei Coltun is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.