Facebook
From Murilo, 1 Year ago, written in Python.
Embed
Download Paste or View Raw
Hits: 81
  1. from pytube import Youtube, Playlist
  2.  
  3. PLAYLIST_URL = input ("Cole aqui a playlist que vocĂȘ deseja")
  4. playlist = Playlist(PLAYLIST_URL)
  5.  
  6. for url in playlist:
  7.     video = youtube(url)
  8.     stream = video.streams.get_highest_resolution()
  9.     stream.download(output_path='playlist')