To Reproduce
Run the following code:
from pytubefix import YouTube
from pytubefix.cli import on_progress
url = "https://www.youtube.com/watch?v=iiy2u3Ky4u4"
yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress)
ys = yt.streams.get_highest_resolution()
ys.download() # you will only get the request to authenticate once you download
Expected behaviorvideo download
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Here is the StreamQuery Data from a video that works:
`
`
The video that is giving me trouble is apart of a subscription service. I'm logged into YT using my credentials do YT should be receiving my access token. Would subscription services have separate tokens?
Describe the bug As title says. I'm trying to download the following url: https://www.youtube.com/watch?v=iiy2u3Ky4u4
To Reproduce Run the following code: from pytubefix import YouTube from pytubefix.cli import on_progress url = "https://www.youtube.com/watch?v=iiy2u3Ky4u4" yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress) ys = yt.streams.get_highest_resolution() ys.download() # you will only get the request to authenticate once you download
Expected behaviorvideo download
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context StreamQuery Data: [, , , , , , , , , , , , , ]