: Call channels.list to find the uploads playlist ID, then use playlistItems.list to iterate through every video in that playlist.
request = youtube.channels().list(part='contentDetails', id=CHANNEL_ID) response = request.execute() uploads_playlist_id = response['items'][0]['contentDetails']['relatedPlaylists']['uploads']
Paste that new ID at the end of this URL: https://youtube.com[YOUR_NEW_ID] . 3. Data Export (Best for Records/Write-ups)
for item in playlist_response['items']: video_ids.append(item['contentDetails']['videoId'])
There are a few ways to list all videos on a YouTube channel:
Paste it into this URL format: https://youtube.com[ChannelID]
: Call channels.list to find the uploads playlist ID, then use playlistItems.list to iterate through every video in that playlist.
request = youtube.channels().list(part='contentDetails', id=CHANNEL_ID) response = request.execute() uploads_playlist_id = response['items'][0]['contentDetails']['relatedPlaylists']['uploads']
Paste that new ID at the end of this URL: https://youtube.com[YOUR_NEW_ID] . 3. Data Export (Best for Records/Write-ups) list all videos on a youtube channel
for item in playlist_response['items']: video_ids.append(item['contentDetails']['videoId'])
There are a few ways to list all videos on a YouTube channel: : Call channels
Paste it into this URL format: https://youtube.com[ChannelID]