NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

Age restricted content not playing

Open dead-pixelz opened this issue 1 year ago • 15 comments

Checklist

  • [X] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • [X] I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [X] I have read the FAQ and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one bug.
  • [X] 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 avatar Aug 01 '24 03:08 dead-pixelz

Exception

  • User Action: requested stream
  • Request: https://www.youtube.com/watch?v=wuSxcEIg5CA
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: YouTube
  • Version: 0.27.2
  • OS: Linux Android 14 - 34

Same here. I am on stock Android. Google Pixel 7a

Tried adjusting the age restriction settings in Settings > Content but no change

Also tried routing phone traffic through Blokada DNS VPN but also no change

fweb avatar Aug 02 '24 01:08 fweb

Same here

exefile2 avatar Aug 02 '24 03:08 exefile2

Same. It brings back the error "Could not parse website".

SprinkleBot avatar Aug 02 '24 11:08 SprinkleBot

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.

rjdg14 avatar Aug 03 '24 00:08 rjdg14

Broken again for player b12cc44b. See: https://github.com/yt-dlp/yt-dlp/pull/10668

CWftw avatar Aug 06 '24 23:08 CWftw

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

oong819 avatar Aug 08 '24 04:08 oong819

Can someone pin this issue to prevent duplicates?

oong819 avatar Aug 10 '24 03:08 oong819

Still not playing.

limujikh avatar Aug 11 '24 18:08 limujikh

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

yonggamer avatar Aug 19 '24 01:08 yonggamer

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.

offbeat-stuff avatar Aug 19 '24 11:08 offbeat-stuff

Yeah I've had this happen to me too.

weole avatar Aug 19 '24 15:08 weole

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

offbeat-stuff avatar Aug 20 '24 15:08 offbeat-stuff

When the feature is restored in addition there should be a notification of the unlocking every time an age-restricted video is played

sunjerk avatar Aug 24 '24 06:08 sunjerk

When the feature is restored in addition there should be a notification of the unlocking every time an age-restricted video is played

Ideally I feel the user should have the ability to toggle such a notification on/off in the same way that they can video descriptions, comments and metadata info.

I know that Newpipe displays age restricted videos in search results with blurred thumbnails but the thumbnails for them are unblurred on channel and recommendation feeds. FreeTube, a similar client for Windows, displays the thumbnails for age restricted videos unblurred on results pages so I'd imagine it would be possible for NewPipe to do the same.

rjdg14 avatar Aug 24 '24 19:08 rjdg14

Unfortunately, I'm still having issues with accessing age restricted contents, even when I clicked the setting, content & show age restricted contents.

Let me know for further update

OutersiderOfficial avatar Aug 29 '24 04:08 OutersiderOfficial

The issue is still happening, no age restricted videos will load. I tried installing after a reset and clearing the storage.

bellehop avatar Aug 29 '24 20:08 bellehop

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.

F8ck Google

mrkrabs206 avatar Aug 31 '24 00:08 mrkrabs206

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?

ghost avatar Sep 01 '24 09:09 ghost

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.

acrodemocide avatar Sep 01 '24 17:09 acrodemocide

how about using code from Seal v1.13.0 to get yt-dlp

yonggamer avatar Sep 04 '24 15:09 yonggamer

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?

Well if you are looking for a downloader

https://github.com/deniscerri/ytdlnis

ytdlnis has the latest ytd-lp so you can download Have tested recently

offbeat-stuff avatar Sep 24 '24 15:09 offbeat-stuff

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

rambalachandran avatar Oct 28 '24 00:10 rambalachandran

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

AudricV avatar Oct 28 '24 06:10 AudricV

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

even NewPipeExtractor PR 1231 could not?

oong819 avatar Oct 28 '24 11:10 oong819

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.

ShareASmile avatar Oct 28 '24 20:10 ShareASmile

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."

misterhackerman avatar Nov 25 '24 04:11 misterhackerman

Why wontfix label added? Please add sign in feature and this issue will be fixed.

johnss avatar Dec 10 '24 07:12 johnss

Can you all just close this thread at this point?

SprinkleBot avatar Dec 10 '24 20:12 SprinkleBot

Why wontfix label added? Please add sign in feature and this issue will be fixed.

Because it is now not possible to fix this as youtube leaves no method to viewing age restricted videos without an aged account.

offbeat-stuff avatar Dec 11 '24 11:12 offbeat-stuff

Just use PipePipe, it's better than this.

smellymoo avatar Jan 11 '25 17:01 smellymoo