Update app.py
Browse files
app.py
CHANGED
@@ -101,7 +101,8 @@ def video_id(id: str):
|
|
101 |
try:
|
102 |
yt = YouTube(
|
103 |
url,
|
104 |
-
|
|
|
105 |
proxies=proxies,
|
106 |
)
|
107 |
ys = yt.streams.get_highest_resolution()
|
|
|
101 |
try:
|
102 |
yt = YouTube(
|
103 |
url,
|
104 |
+
use_po_token=True,
|
105 |
+
po_token_verifier=po_token_verifier()
|
106 |
proxies=proxies,
|
107 |
)
|
108 |
ys = yt.streams.get_highest_resolution()
|