-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[YouTube] All Age-restricted videos unavailable #8102
Comments
I would like to add that you can still play the audio in the background, and the videos will sometimes be watchable after doing this. |
This comment was marked as spam.
This comment was marked as spam.
Not sure if it's terribly relevant but I see that Android 8 is the cited Android OS version for this particular issue. I didn't look for additional issues citing the same problem with age-restricted videos suddenly not playing anymore, as I was really only trying to determine if there was already an open issue for it, which this satisfied. The only noteworthy difference is Android version. The issue is also reproducible using Android 12 |
I'm having the same issue it's part of why I downloaded this app I would really like to see this fixed please 😕😊 |
This comment was marked as spam.
This comment was marked as spam.
Related: TeamNewPipe/NewPipeExtractor#729 |
Also related: yt-dlp/yt-dlp#3182 |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
For everyone: please stop commenting on the issue unless you have something useful to add. We know the extraction of YouTube age-restricted videos is broken, so it happens on all devices on every Android version, due to a YouTube change which patched the way we are able to get them. It seems there is no way to get anonymously streams of age-restricted videos anymore, at least for the same amount. |
I've created a bruteforce script that tries thousands of possible combinations between innertube clients and versions.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
How to add this script to Newpipe? Mod note: don't paste a giant wall of text. Only quote the part needed for context for your reply. |
This comment was marked as spam.
This comment was marked as spam.
Mod note: read #8102 (comment) i wrote a simple frida snippet to test that, and it works Java.perform(function () {
var JsonBuilder = Java.use("com.grack.nanojson.JsonBuilder");
JsonBuilder.value.overload("java.lang.String", "java.lang.String").implementation = function (key, s) {
if (key == "clientName" && s == "ANDROID") {
s = "TVHTML5_SIMPLY_EMBEDDED_PLAYER"
} else if (key == "clientVersion" && s == "16.29.38") {
s = "2.0"
}
var ret_value = this.value(key, s);
return ret_value;
}
}); https://github.com/TeamNewPipe/NewPipeExtractor/blob/5a1873084526a8f67a9924c32457eb4a0a3101c4/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java#L1043-L1044 |
So I guess we are stuck with having no access to watch age-restricted videos? Daim Europe, thanks 😕 |
Please test this APK: app-debug.zip |
IT WORKS! I obviously haven't tested it extensively yet, as you only posted it 5 minutes ago but I have confirmed that it works to bypass YT's age restriction script. It's a little slow but it appears that when you configure the app to use an external video player things are sped up a bit. THANK YOU! You and anyone else that contributed are the dude(s) I'll continue testing and report back... Not sure if it's at all helpful but see the hidden comment below for a heap analysis (7 leaks) |
This comment was marked as duplicate.
This comment was marked as duplicate.
Works. 👍 Now comedians can swear again. |
Can also confirm this is working now. |
Works ! |
Thought it was gonna be a virus or scam but it works! Thanks! |
No, it's not at all, I compiled it myself from sources I published that you can find here: https://github.com/TiA4f8R/NewPipe/tree/yt-more-params-innertube-requests Only extractor changes are needed to fix the extraction (the app changes only change the extractor used). |
Checklist
Affected version
0.22.1
Steps to reproduce the bug
Expected behavior
Age restricted video will normally load up and proceed.
Actual behavior
This message shows up and it's annoying.
Screenshots/Screen recordings
Logs
Exception
Crash log
Affected Android/Custom ROM version
Android 8
Affected device model
Galaxy S7
Additional information
This bug is in requirement of an immediate fix/patch ASAP.
The text was updated successfully, but these errors were encountered: