4/14/2023

Get YouTube url list from YouTube playlist url.

refer to code: 

.

from pytube import Playlist

# Replace with your playlist URL
playlist_url = 'https://www.youtube.com/playlist?list=yourlist'

playlist = Playlist(playlist_url)

# Fetch video URLs
video_urls = playlist.video_urls

# Print video URLs
for url in video_urls:
print(url)

..


www.marearts.com

๐Ÿ™‡๐Ÿป‍♂️

No comments:

Post a Comment