chipling commited on
Commit
282d87d
·
verified ·
1 Parent(s): e8b7d8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -101,7 +101,8 @@ def video_id(id: str):
101
  try:
102
  yt = YouTube(
103
  url,
104
- 'WEB',
 
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()