Commit
·
6a128ab
1
Parent(s):
64efd25
fixed flake8 errors #2
Browse files- pytube/playlist.py +4 -3
pytube/playlist.py
CHANGED
@@ -77,7 +77,8 @@ class Playlist(object):
|
|
77 |
except UnicodeEncodeError:
|
78 |
print("(title cannot be shown due to unicode error)")
|
79 |
|
80 |
-
yt.streams.filter(progressive=True,
|
81 |
-
|
|
|
82 |
|
83 |
-
print("Download complete")
|
|
|
77 |
except UnicodeEncodeError:
|
78 |
print("(title cannot be shown due to unicode error)")
|
79 |
|
80 |
+
yt.streams.filter(progressive=True,
|
81 |
+
subtype="mp4").order_by(
|
82 |
+
"resolution").desc().first().download()
|
83 |
|
84 |
+
print("Download complete")
|