Open akirapix opened 1 day ago
Same problem too
Same issue, setting allow_oauth_cache and use_oauth to False resolves the issue, besides not being able to download some videos due to not being authenticated
Same issue, setting allow_oauth_cache and use_oauth to False resolves the issue, besides not being able to download some videos due to not being authenticated
yeah the same for me. i need to make it work allow_oauth_cache and use_oauth set to True
The version that corrects this has been released, 8.4.1 and taking advantage of the use of oauth, I made a PR to reset the cache, if you can leave your opinions on whether or not I should launch it, if it will help... I tested it and it made it a lot easier , if you want to test this in the "reset_cache" branch, see the PR on how to use it -> https://github.com/JuanBindez/pytubefix/pull/333
I suppose Youtube changed the way of accessing this URL https://www.youtube.com/youtubei/v1/player?prettyPrint=false causing a 400 error
if i try to copy/paste this url on the browser it says:
this behaviour changed more or less yesterday, and only when using allow_oauth_cache=True and use_oauth=True
to reproduce the error i used simply:
from pytubefix import YouTube
yt = YouTube(, allow_oauth_cache=True, use_oauth=True)
stream = yt.streams.filter(only_audio=True).order_by('abr').desc().first()
this piece of code was working without any errors since a month, but suddenly stopped giving me a 400 error
code is working on: