user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
486 stars 62 forks source link

Error: Error getting missing player or bypassing age-restriction: This video is unavailable #165

Closed uberblarr closed 1 year ago

uberblarr commented 1 year ago

After refreshing the page 1-3 times the error is gone.

quetzalsly commented 1 year ago

same problem here! refreshing a few times makes it work again

stl3 commented 1 year ago

Win10/Powershell 7.3.4/youtube-local-v2.8.0-windows Not entirely sure if my problem is the same as yours but refreshing also helps on my end. Here's the traceback:

500 Uncaught exception:
Traceback (most recent call last):
  File "F:\GitHub\youtube-local\python\lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
  File "F:\GitHub\youtube-local\python\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "F:\GitHub\youtube-local\python\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "F:\GitHub\youtube-local\python\lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "F:\GitHub\youtube-local\youtube\watch.py", line 655, in get_watch_page
    url = info['formats'][0]['url']
IndexError: list index out of range

Seems to require refreshing a significant amount of time (more than 5 times) before the player comes up.

user234683 commented 1 year ago

@stl3 That line of code shouldn't activate unless you enabled the gather_googlevideo_domains hidden setting. I recommend disabling that

stl3 commented 1 year ago

@stl3 That line of code shouldn't activate unless you enabled the gather_googlevideo_domains hidden setting. I recommend disabling that

Didn't even realise I still had that on lol, nice catch thanks!