ayzhou / scriptno

Automatically exported from code.google.com/p/scriptno
0 stars 0 forks source link

Can't watch the video on“tudou.com” with Experimental build scriptNo #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using ScriptNo 1.0.5.52 Experimental build with Chrome(16 stable release)'s 
Experimental API enabled(in about:flags).

This Chinese video site usually firstly load the Player module(in flash/.flv, 
from "http://js.tudouui.com/bin/player_online/TudouVideoPlayer_Homer_227.swf"), 
then load(using "GET") the video stream (in .f4v) directly from a IP address 
(Other than a subdomain like 
youtube---http://o-o.preferred.mia05s03.v21.lscache7.c.youtube.com/videoplayback
?*******). 

for example:

"
http://119.167.204.68/f4v/74/114890574.h264_2.f4v?10000&key=f95c81019098ab6e5705
b44ee8ce6abd8a43d6&playtype=1&tk=154292113784161439780484033&brt=3&bc=10&nt=0&du
=184040&ispid=244&id=tudou&itemid=76377304&fi=114890574&sz=11653752&posky=GwqM4w
2CrQIHYv5uJGzF16gumcnh0&plybgn=1
"

(The video is on page 
"http://www.tudou.com/playlist/p/l14625592i114890574.html")

It always returns "403" code if scriptNo is enabled, which should have been 
"200" and start downloading the video stream. 

Unless the IP address "119.167.204.68" is added to the white list on purpose 
before it can play the video, thus I have to repeat adding a IP address every 
time-----which makes the user experience very bad.

-----------------------------------------

It seems scriptNo blocks something in the
"
http://119.167.204.68/f4v/74/114890574.h264_2.f4v?10000&key=f95c81019098ab6e5705
b44ee8ce6abd8a43d6&playtype=1&tk=154292113784161439780484033&brt=3&bc=10&nt=0&du
=184040&ispid=244&id=tudou&itemid=76377304&fi=114890574&sz=11653752&posky=GwqM4w
2CrQIHYv5uJGzF16gumcnh0&plybgn=1
"

this bug doesn't seem to appear on elder build of scriptNo(experiment build) 
nor Chrome 15 stable, as well as firefox extension Noscript

Original issue reported on code.google.com by cereb...@gmail.com on 14 Dec 2011 at 4:55

GoogleCodeExporter commented 9 years ago
Sorry, it seems to be me who caused the problem.

The User-Agent Spoof function may have confused the Tudou's server:

for example
to the *.tudou.com/*.tudouuui.com domains, the browser says "This is Chrome 15 
on MacOSX";
to the IP address  119.167.204.68, the User-Agent Spoofed browser says "This is 
Chrome 14 on ChromeOS "

So, maybe for some Verifying reason, tudou refuses to provide me the video 
stream

Original comment by cereb...@gmail.com on 14 Dec 2011 at 5:11

GoogleCodeExporter commented 9 years ago

Original comment by andr...@gmail.com on 9 Feb 2012 at 4:20