Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "the following content is not available on this app" #1907

Open
partriv opened this issue Apr 5, 2024 · 6 comments
Open

[BUG] "the following content is not available on this app" #1907

partriv opened this issue Apr 5, 2024 · 6 comments
Labels

Comments

@partriv
Copy link

partriv commented Apr 5, 2024

Describe the bug
When i access the URL of a stream to watch the video, it not longer works, I get this error in the video saying "The following content is not available on this app. Watch this content on the latest version of YouTube"

To Reproduce
Please provide the following information:

  • Any youtube URL
  • This is the code
yt_streams = yt.streams.filter(progressive=True, file_extension='mp4').order_by('resolution')
vid = yt_streams.desc().first()
url = vid.url

The URL will display a video with the above error.
Screenshot 2024-04-04 at 10 21 10 PM

Expected behavior
I can watch the video. It has worked for me for years, it just stopped. I tried refreshing my oauth tokens.

Output
No exceptions

System information
Please provide the following information:

  • Python version: Python 3.10.6
  • Pytube version: 15.0.0
  • pip3 install pytube
@partriv partriv added the bug label Apr 5, 2024
@XavierLarrea
Copy link

the same issue trying to download with pytubefix. You download a video with error display

@Sigoloh
Copy link

Sigoloh commented Apr 17, 2024

This is not a bug. It's new youtube "feature".
More in this youtube post

@XavierLarrea
Copy link

Anyway pytube is not working ... any work around?

@liaolingfen4
Copy link

same issue i meet , how to solve it , anyone who has idea?thank you so much !!!!!!!!!!!!!

@SHosseinR
Copy link

Same here. Possibly after so many downloads, I've got this problem. I don't know whether it is related to the number of downloads (which led to Youtube banning my IP address) or it was another problem.
Anyone same situation as me? Did it happen after many back to back downloads?

@XavierLarrea
Copy link

Same here. Possibly after so many downloads, I've got this problem. I don't know whether it is related to the number of downloads (which led to Youtube banning my IP address) or it was another problem. Anyone same situation as me? Did it happen after many back to back downloads?

Use pytbefix instead... it is working right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants