Closed tzzht closed 1 month ago
@tzzht, have you got any solution for this?
@tzzht, have you got any solution for this?
Yeah, based on the updated document of pytubefix, you can use
use_oauth=True, allow_oauth_cache=True
from pytubefix import YouTube
from pytubefix.cli import on_progress
url = "url"
yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress)
ys = yt.streams.get_audio_only()
ys.download(mp3=True) # you will only get the request to authenticate once you download
to add authentication
Hi JuanBindez,
I really appreciate your work. But I've been using your YouTube video downloader tool from this repository and have encountered a problem. It seems that when trying to download certain videos, the process fails because the video requires user login.
Here's a brief rundown of what I've experienced:
I was wondering if there's a way to handle videos that are behind a login, such as providing a method to log in with my account or bypassing this requirement.
Would it be possible for you to provide a solution or guidance on how to resolve this? It would be greatly appreciated.
Thank you for your time and for maintaining this useful tool. Looking forward to your response.
Best regards
Error Message: