Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- playlist = pafy.get_playlist(self.params["url"])
- videos = playlist['items']
- quality = self.params['quality']
- for video in videos :
- p = video['pafy']
- selectedVideo = p.quality
- selectedVideo.download()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement