We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e7870a commit 630d84eCopy full SHA for 630d84e
0x22-YouTubeViewer/pythonVideo.py
@@ -0,0 +1,11 @@
1
+import vlc
2
+
3
+import pafy
4
5
+url = "https://www.youtube.com/watch?v=LA9tjiiAvN0&pp=ygUjcGFydGl0aWlvbmluZyBzdG9yYWdlIG9uIHdpbmRvd3MgMTE%3D"
6
7
+video = pafy.new(url)
8
+best = video.getbest()
9
+media = vlc.MediaPlayer(best.url)
10
11
+media.play()
0 commit comments