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

How to access licensed content included in a video using the YouTube API

$
0
0

I want to access or collect the URL of the licensed content included in the video.

I have prepared a picture in case what I want is not conveyed properly

red boxed area of this picture

Here is part of the code I used

def youtube_videos(options):  youtube = build(API_SERVICE_NAME, API_VERSION,    developerKey=DEVELOPERKEY)  search_response = youtube.videos().list(    part = 'snippet, statistics, contentDetails, status',    id = options,    maxResults = 1    ).execute()  result = []  for i in search_response['items']:    result.append(i)  print(result)

Can you tell me which part of the code needs to be modified, or provide a reference?

I'm also ready to learn how to work outside of the API.

We need your help, thank you as always.

Tried several request parameters including videos, search in YouTube API documentation but didn't get the desired result.


Viewing all articles
Browse latest Browse all 3637

Trending Articles



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