Youtubeexplode: Unable to process controversial videos

Created on 28 Mar 2018  路  15Comments  路  Source: Tyrrrz/YoutubeExplode

As an example, this political parody Youtube link has restricted content that requires confirmation: (may be offensive or inappropriate for some viewers)

https://www.youtube.com/watch?v=BRi-UouACL8

Once you agree, you get this URL:

https://www.youtube.com/watch?v=BRi-UouACL8&bpctr=1522215065

With either URL in the DemoWpf program, I get this exception:

YoutubeExplode.Exceptions.VideoUnavailableException
HResult=0x80131500
Source=YoutubeExplode
StackTrace:
at YoutubeExplode.YoutubeClient.d__35.MoveNext() in C:\Code\YoutubeExplode\YoutubeExplode\YoutubeClient.Video.cs:line 82
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() at YoutubeExplode.YoutubeClient.<GetVideoAsync>d__38.MoveNext() in C:\Code\YoutubeExplode\YoutubeExplode\YoutubeClient.Video.cs:line 206 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
at DemoWpf.ViewModels.MainViewModel.d__45.MoveNext() in C:\Code\YoutubeExplode\DemoWpf\ViewModels\MainViewModel.cs:line 138

bug caused by youtube help wanted

Most helpful comment

None of them work with get_video_info, the bpctr=9999999999 trick works with watch page which we currently do not parse for video info...

All 15 comments

Huh, this is interesting, never seen this video type before. It looks like that bpctr thing is generated uniquely for each session but it doesn't directly appear in the page source.

Looks like bpctr=9999999999 works every time but only on the watch page.

The link does not require any confirmation for me, even logged out.
Any more examples?

Try incognito

Plays without issue or prompt.

Ah yeah, it looks like the video in original post is no longer restricted. So I guess we need to find a new example.

Maybe double posted (sorry if so):
https://github.com/Tyrrrz/YoutubeExplode/issues/110

Here I found another example video
https://www.youtube.com/watch?v=SNPNWEY44NY
Need to look for da joos did 9/11 videos or da Holohoax. Anything bad for Israel gets flagged by the joo army of snot nosed teenagers in Tel Aviv working for the Hasbara hoping for Mossad career.

Whereas this one is flagged but doesn't have the bpctr addon after agreed entry

https://www.youtube.com/watch?v=_LGOd4xWAtI

Whereas this one is flagged but doesn't have the bpctr addon after agreed entry

https://www.youtube.com/watch?v=_LGOd4xWAtI

And now a few days later it does. This suggests human processing. They are reclassifying.
https://www.youtube.com/watch?v=_LGOd4xWAtI&bpctr=1525165829

One thing is for sure, all of it, all the motivation is one thing and one thing only: The road to Zion

I just noticed on youtube that after clicking the confirmation button i get a "&has_verified=1" query value added to the url. I added this to other urls in the browser and it doesn't affect unrestricted videos. I haven't had a chance to test it with the library yet, but thought it might help if this is still an issue.

But have you checked if it affects restricted videos?

None of them work with get_video_info, the bpctr=9999999999 trick works with watch page which we currently do not parse for video info...

https://www.youtube.com/watch?v=NgTdNd5lkvY here's an example if you need one

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nk34player picture nk34player  路  4Comments

PhapHanh picture PhapHanh  路  4Comments

dev45 picture dev45  路  5Comments

NoobInTraining picture NoobInTraining  路  5Comments

SlowLogicBoy picture SlowLogicBoy  路  7Comments