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.