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

HTTP 403 on Youtube videos converted to HTML 5 video #116

Closed
browndav opened this Issue Mar 27, 2015 · 22 comments

Comments

Projects
None yet
6 participants
@browndav

Hi,

Thanks for the awesome Safari extension.

I just noticed this morning that a relatively large number of Youtube videos are failing with an HTTP 403 after they're converted to HTML5 video. These videos work in Flash mode. I'm currently using Safari 7.1.4 (9537.85.13.7), with all other extensions disabled.

Here's a video that's failing: https://www.youtube.com/watch?v=8wlGgzpDsPM
Here's one that's working: https://www.youtube.com/watch?v=Xj6oI-QkJYg

Here's a quick screenshot of what the failure looks like:

http-403-20150327

It's entirely possible that this is a temporary issue on Google's side, but I figured I'd file an issue just in case something changed/broke permanently.

Thanks!

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Mar 27, 2015

Owner

Thanks for the report. It just started happening for me as well. Could you try replacing the built-in killer with the following?

https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTube.js

Owner

hoyois commented Mar 27, 2015

Thanks for the report. It just started happening for me as well. Could you try replacing the built-in killer with the following?

https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTube.js

@JohnBlackburne

This comment has been minimized.

Show comment
Hide comment
@JohnBlackburne

JohnBlackburne Mar 27, 2015

Another example, 403 error also:
https://www.youtube.com/watch?v=SQXqkiKXiHc
I'll give the new killer a try; edit: yep that fixes it.

Another example, 403 error also:
https://www.youtube.com/watch?v=SQXqkiKXiHc
I'll give the new killer a try; edit: yep that fixes it.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Mar 27, 2015

Owner

OK, thanks for checking. This might only be a temporary fix but at least I understand the source of the problem now.

Owner

hoyois commented Mar 27, 2015

OK, thanks for checking. This might only be a temporary fix but at least I understand the source of the problem now.

@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Mar 27, 2015

The fix worked for me too. A quick patch and xar/openssl re-sign and it's working again. Thanks!

The fix worked for me too. A quick patch and xar/openssl re-sign and it's working again. Thanks!

@hjstephens09

This comment has been minimized.

Show comment
Hide comment
@hjstephens09

hjstephens09 Mar 28, 2015

I'm having this issue as well.

I'm having this issue as well.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Mar 29, 2015

Owner

This is fixed for now.

Owner

hoyois commented Mar 29, 2015

This is fixed for now.

@hoyois hoyois closed this Mar 29, 2015

@hoyois hoyois reopened this Apr 1, 2015

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 1, 2015

Owner

Broken again, will fix.

Owner

hoyois commented Apr 1, 2015

Broken again, will fix.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Apr 1, 2015

I'm still getting a 403 from https://www.youtube.com/watch?v=8wlGgzpDsPM using the updated YouTubeS.js; here's the address it's trying to pull:

https://r7---sn-o097znle.googlevideo.com/videoplayback?ip=$MY_IP_ADDRESS&mm=31&requiressl=yes&upn=HCGtYV4GUYM&ratebypass=yes&itag=18&key=yt5&mime=video%2Fmp4&fexp=900720%2C907263%2C912151%2C934954%2C936928%2C937247%2C9405637%2C9405973%2C9406633%2C9406911%2C9408101%2C9408224%2C948124%2C948703%2C951511%2C951703%2C952612%2C953919%2C957201%2C961404%2C961406&mt=1427909753&sver=3&id=o-ADyz_sPvtzbexsjuA9O4qMydBo0N0X2trFi_Wt1QY2UE&dur=265.102&expire=1427931420&pl=20&source=youtube&sparams=dur%2Cid%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&ipbits=0&ms=au&signature=4A2ABB72E5A79370C26F595BD6221D1370FDDC3583.3BDACF1120558AC9B6A285F1DBD240B699983102&title=Polyethylene%20%5Bparts%201%20%26%202%5D%20-%20Radiohead%20%5B360p%5D

browndav commented Apr 1, 2015

I'm still getting a 403 from https://www.youtube.com/watch?v=8wlGgzpDsPM using the updated YouTubeS.js; here's the address it's trying to pull:

https://r7---sn-o097znle.googlevideo.com/videoplayback?ip=$MY_IP_ADDRESS&mm=31&requiressl=yes&upn=HCGtYV4GUYM&ratebypass=yes&itag=18&key=yt5&mime=video%2Fmp4&fexp=900720%2C907263%2C912151%2C934954%2C936928%2C937247%2C9405637%2C9405973%2C9406633%2C9406911%2C9408101%2C9408224%2C948124%2C948703%2C951511%2C951703%2C952612%2C953919%2C957201%2C961404%2C961406&mt=1427909753&sver=3&id=o-ADyz_sPvtzbexsjuA9O4qMydBo0N0X2trFi_Wt1QY2UE&dur=265.102&expire=1427931420&pl=20&source=youtube&sparams=dur%2Cid%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mv=m&ipbits=0&ms=au&signature=4A2ABB72E5A79370C26F595BD6221D1370FDDC3583.3BDACF1120558AC9B6A285F1DBD240B699983102&title=Polyethylene%20%5Bparts%201%20%26%202%5D%20-%20Radiohead%20%5B360p%5D
@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 1, 2015

Owner

Did you close the preference window after changing the URL?

Owner

hoyois commented Apr 1, 2015

Did you close the preference window after changing the URL?

@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Apr 1, 2015

Yeah, I uninstalled the extension, reset Safari, overwrote Youtube.js with YoutubeS.js, rebuilt a new safariextz, and installed it. I'll try one more time over lunch just to make sure I didn't hose something up.

browndav commented Apr 1, 2015

Yeah, I uninstalled the extension, reset Safari, overwrote Youtube.js with YoutubeS.js, rebuilt a new safariextz, and installed it. I'll try one more time over lunch just to make sure I didn't hose something up.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 1, 2015

Owner

Hold on, there's no need to rebuild the extension every time. You can just put the URL in the list of conversion scripts in the preferences.

Owner

hoyois commented Apr 1, 2015

Hold on, there's no need to rebuild the extension every time. You can just put the URL in the list of conversion scripts in the preferences.

@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Apr 1, 2015

I'll try it with the URL. Honestly, I only rebuilt it because I wanted to figure out how to do the signing manually with xar/openssl. Masochism, I guess.

browndav commented Apr 1, 2015

I'll try it with the URL. Honestly, I only rebuilt it because I wanted to figure out how to do the signing manually with xar/openssl. Masochism, I guess.

@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Apr 1, 2015

Unfortunately still no-go dropping https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTubeS.js in to the killer list and closing the preferences tab. I tried both replacing the existing killers/Youtube.js line with it, and (for no apparent reason) adding it in addition to the default killers/Youtube.js.

Not sure if this is helpful or even related, but I also seem to get the Flash placeholder the first time I load https://www.youtube.com/watch?v=8wlGgzpDsPM after changing the killers list. A reload fixes it. Not a big deal, but I figured it was worth mentioning.

Thanks again for looking at this stuff.

browndav commented Apr 1, 2015

Unfortunately still no-go dropping https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/YouTubeS.js in to the killer list and closing the preferences tab. I tried both replacing the existing killers/Youtube.js line with it, and (for no apparent reason) adding it in addition to the default killers/Youtube.js.

Not sure if this is helpful or even related, but I also seem to get the Flash placeholder the first time I load https://www.youtube.com/watch?v=8wlGgzpDsPM after changing the killers list. A reload fixes it. Not a big deal, but I figured it was worth mentioning.

Thanks again for looking at this stuff.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 1, 2015

Owner

@browndav Might be it's related, yes. The latter is not supposed to happen either. Since you've compiled the extension, can you check the value of killers.YouTube.decoder in the extension's global page?

Owner

hoyois commented Apr 1, 2015

@browndav Might be it's related, yes. The latter is not supposed to happen either. Since you've compiled the extension, can you check the value of killers.YouTube.decoder in the extension's global page?

@electric-monk

This comment has been minimized.

Show comment
Hide comment
@electric-monk

electric-monk Apr 2, 2015

I'm also experiencing this - it looks like the videos that don't work are almost exclusively music videos, so I assume it's some flag the content owners are setting.

I'm also experiencing this - it looks like the videos that don't work are almost exclusively music videos, so I assume it's some flag the content owners are setting.

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 2, 2015

Owner

@electric-monk The source of the problem is well understood: it's signature encryption. But I need to figure put why YouTubeS.js is not working for some. Does it work for you?

Owner

hoyois commented Apr 2, 2015

@electric-monk The source of the problem is well understood: it's signature encryption. But I need to figure put why YouTubeS.js is not working for some. Does it work for you?

@JohnBlackburne

This comment has been minimized.

Show comment
Hide comment
@JohnBlackburne

JohnBlackburne Apr 2, 2015

YouTubeS.js works for me on a video I had problems on earlier, HGawnVcpzB4 and the above 8wlGgzpDsPM, both of which are broken with the built in killer.

YouTubeS.js works for me on a video I had problems on earlier, HGawnVcpzB4 and the above 8wlGgzpDsPM, both of which are broken with the built in killer.

@electric-monk

This comment has been minimized.

Show comment
Hide comment
@electric-monk

electric-monk Apr 2, 2015

Ooh yeah, it's working now, thanks!

Ooh yeah, it's working now, thanks!

@gitguys

This comment has been minimized.

Show comment
Hide comment
@gitguys

gitguys Apr 2, 2015

Not working with any Vevo videos whatsoever at this point. https://www.youtube.com/results?search_query=vevo ----- edit ----- ok, quite a few other videos not working aside from Vevo as well and also froze safari when I attempted to download video after trying and failing to play a video --- it seems youtube is killing this great extension

gitguys commented Apr 2, 2015

Not working with any Vevo videos whatsoever at this point. https://www.youtube.com/results?search_query=vevo ----- edit ----- ok, quite a few other videos not working aside from Vevo as well and also froze safari when I attempted to download video after trying and failing to play a video --- it seems youtube is killing this great extension

@hoyois

This comment has been minimized.

Show comment
Hide comment
@hoyois

hoyois Apr 4, 2015

Owner

Hopefully this is fixed for everyone in CTP 3.1.2. Please reopen if not.

Owner

hoyois commented Apr 4, 2015

Hopefully this is fixed for everyone in CTP 3.1.2. Please reopen if not.

@hoyois hoyois closed this Apr 4, 2015

@browndav

This comment has been minimized.

Show comment
Hide comment
@browndav

browndav Apr 4, 2015

Working for me now with 3.1.2. Thanks again!

browndav commented Apr 4, 2015

Working for me now with 3.1.2. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment