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

[YouTube] Age restricted content not playing #11382

Closed
6 tasks done
dead-pixelz opened this issue Aug 1, 2024 · 26 comments · Fixed by TeamNewPipe/NewPipeExtractor#1231
Closed
6 tasks done

[YouTube] Age restricted content not playing #11382

dead-pixelz opened this issue Aug 1, 2024 · 26 comments · Fixed by TeamNewPipe/NewPipeExtractor#1231
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/

Comments

@dead-pixelz
Copy link

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

V.0.27.2

Steps to reproduce the bug

  1. Boot device
  2. Launch newpipe
  3. Load any age-restricted content
  4. Generate below error

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=bvZCou0y9cI
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US_#u-fw-sun-mu-fahrenhe
  • Service: YouTube
  • Version: 0.27.2
  • OS: Linux Android 14 - 34
Crash log

org.schabi.newpipe.extractor.stream.StreamInfo$StreamExtractException: Could not get any stream. See error variable to get further details.
	at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:171)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:81)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:118)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:16144)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)


Expected behavior

Up until 12 hours ago, videos were playing normally. Videos normally play without issue

Actual behavior

Screenshot_20240731-230126

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=bvZCou0y9cI
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US_#u-fw-sun-mu-fahrenhe
  • Service: YouTube
  • Version: 0.27.2
  • OS: Linux Android 14 - 34
Crash log

org.schabi.newpipe.extractor.stream.StreamInfo$StreamExtractException: Could not get any stream. See error variable to get further details.
	at org.schabi.newpipe.extractor.stream.StreamInfo.extractStreams(StreamInfo.java:171)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:81)
	at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:72)
	at org.schabi.newpipe.util.ExtractorHelper.lambda$getStreamInfo$3(ExtractorHelper.java:118)
	at org.schabi.newpipe.util.ExtractorHelper.$r8$lambda$YTHJjScxCJNO1LTCqs3IKy35iyY(ExtractorHelper.java:0)
	at org.schabi.newpipe.util.ExtractorHelper$$ExternalSyntheticLambda3.call(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.operators.single.SingleFromCallable.subscribeActual(SingleFromCallable.java:43)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleDoOnSuccess.subscribeActual(SingleDoOnSuccess.java:35)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeFromSingle.subscribeActual(MaybeFromSingle.java:41)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.drain(MaybeConcatArray.java:153)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray$ConcatMaybeObserver.request(MaybeConcatArray.java:78)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe$ElementAtSubscriber.onSubscribe(FlowableElementAtMaybe.java:66)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeConcatArray.subscribeActual(MaybeConcatArray.java:42)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:16144)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableElementAtMaybe.subscribeActual(FlowableElementAtMaybe.java:36)
	at io.reactivex.rxjava3.core.Maybe.subscribe(Maybe.java:5377)
	at io.reactivex.rxjava3.internal.operators.maybe.MaybeToSingle.subscribeActual(MaybeToSingle.java:46)
	at io.reactivex.rxjava3.core.Single.subscribe(Single.java:4855)
	at io.reactivex.rxjava3.internal.operators.single.SingleSubscribeOn$SubscribeOnObserver.run(SingleSubscribeOn.java:89)
	at io.reactivex.rxjava3.core.Scheduler$DisposeTask.run(Scheduler.java:644)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:65)
	at io.reactivex.rxjava3.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:56)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
	at java.lang.Thread.run(Thread.java:1012)


Affected Android/Custom ROM version

Android 14 (GrapheneOS)

Affected device model

Google Pixel 7 Pro

Additional information

No response

@dead-pixelz dead-pixelz added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Aug 1, 2024
@opusforlife2 opusforlife2 added youtube Service, https://www.youtube.com/ and removed needs triage Issue is not yet ready for PR authors to take up labels Aug 1, 2024
@fweb

This comment was marked as duplicate.

@exefile2

This comment was marked as duplicate.

@SprinkleBot

This comment was marked as off-topic.

@rjdg14
Copy link

rjdg14 commented Aug 3, 2024

I would imagine there has been some sort of change made at YouTube's end to something in the code behind the implementation of age restricted videos. From what I can tell it is probably unrelated to the recent more general playback problems that have been affecting third party clients.

@CWftw
Copy link

CWftw commented Aug 6, 2024

Broken again for player b12cc44b. See: yt-dlp/yt-dlp#10668

@oong819
Copy link

oong819 commented Aug 8, 2024

Are the stream still there but the player/whatever code get changed for age-restricted content or the stream completely gone?

@oong819
Copy link

oong819 commented Aug 10, 2024

Can someone pin this issue to prevent duplicates?

@opusforlife2 opusforlife2 pinned this issue Aug 10, 2024
@berrydzhobs

This comment was marked as duplicate.

@yonggamer
Copy link

could code from yt-dlp help? especially code from yt-dlp 2024.08.06

@offbeat-stuff
Copy link

could code from yt-dlp help? especially code from yt-dlp 2024.08.06

I tested the latest yt-dlp on https://m.youtube.com/watch?v=6LjPVsA_INg and can confirm it does not encounter the same error as newpipe (tested nightly,pipepipe,skytube,27.2).
So definetly could help.

@weole

This comment was marked as duplicate.

@offbeat-stuff
Copy link

Those wanting to watch videos could use
this https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass?tab=readme-ov-file
Has extension and userscript version

@sunjerk

This comment was marked as off-topic.

@rjdg14

This comment was marked as off-topic.

@OutersiderOfficial

This comment was marked as duplicate.

@ShareASmile ShareASmile unpinned this issue Aug 29, 2024
@bellehop

This comment was marked as duplicate.

@mrkrabs206

This comment was marked as duplicate.

@ghost
Copy link

ghost commented Sep 1, 2024

Those wanting to watch videos could use this https://github.com/zerodytrash/Simple-YouTube-Age-Restriction-Bypass?tab=readme-ov-file Has extension and userscript version

This works perfectly without Google login on Firefox mobile with Tampermonkey, but the problem is there is no downloader. I wondering if this bypass method can be implemented on NewPipe?

@acrodemocide
Copy link

This looks like it will require an extractor change. I don't have the authority to apply that tag or if there is some level of confirmation I need to go through on this project to do so, but wanted to mention it.

@ShareASmile ShareASmile pinned this issue Sep 4, 2024
@ShareASmile ShareASmile added the requires extractor change This issue requires a change to the extractor label Sep 4, 2024
@yonggamer

This comment was marked as off-topic.

@AudricV AudricV changed the title Age restricted content not playing [YouTube] Age restricted content not playing Sep 15, 2024
@offbeat-stuff

This comment was marked as off-topic.

@rambalachandran
Copy link

could not find the apk in the PR to use this fix in our devices

@AudricV
Copy link
Member

AudricV commented Oct 28, 2024

It doesn't matter now, as YouTube removed all known ways to bypass age-restrictions without login.

@oong819
Copy link

oong819 commented Oct 28, 2024

It doesn't matter now, as YouTube removed all known ways to bypass age-restrictions without login.

even NewPipeExtractor PR 1231 could not?

@ShareASmile
Copy link
Collaborator

ShareASmile commented Oct 28, 2024

even NewPipeExtractor PR 1231 could not?

Yes, all known ways without login also include PR 1231 & all methods yt-dlp used so far to bypass.

@misterhackerman
Copy link

Even nsfwyoutube is down, they say on the site:
"Please wait for a few seconds! Sadly, GGL keeps shutting "door after door", for our site, Invidious, Piped & all others,.. We are trying to fix it."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug requires extractor change This issue requires a change to the extractor youtube Service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging a pull request may close this issue.