semigodking / redsocks

transparent redirector of any TCP/UDP connection to proxy
Apache License 2.0
1.17k stars 247 forks source link

http redirect的时候,如果返回数据比较多的话就可能有问题。 #64

Closed yanggis closed 7 years ago

yanggis commented 7 years ago

这个软件现在几乎是完美了,用了半年才碰到这一个问题,就是这个长链接,用resocks2做逆向代理,把这个链接转发给远程的服务器,等远程服务器返回数据之后,resocks2再把收到的数据转给本地的软件。链接是这样的: http://tv.api.3g.youku.com/v3/common/h265/play?id=XMjQ5MjQwNDAwNA==&format=1,5,6,7,8&point=1&language=guoyu&cl=0&site=1&position=7&is_fullscreen=0&player_type=tvdevice&sessionid=3D9A2665D477E019&device_type=tv&device_brand=samsung&aw=a&rst=m3u8&mac=02%3A00%3A00%3A00%3A00%3A00&version=1.0&ctype=30&did=3a66405d00839be94778bf0b00091b38&ouid=&hd3_limit=0&streamcoding=h264&dq=mp4&preload=0&with_channel=0&adext=&serial=0&appsign=0ffe0b6be568508f6d24c54fcec5e925&pid=9b03e6d598427330&guid=3a66405d00839be94778bf0b00091b38&ngdid=7a0f248d2182d4d90268e61e5b6c2b8d&ver=5.0.1&network=WIFI&packagename=com.youku.tv.c&ua=SM-G935F&sdk=2.1.0.720&ppid=f54b313db184bb16&uuid=unknow_tv_imei&chip=0&media=default&mdl=SM-G935F&osv=7.0&os=Android&dvw=1920&dvh=1080&dprm=2625&im=&aid=3242d01b69d76769&sign=zVK8L2pYhxGLwuSvT3dcakZAKzI= 这个是优酷视频XL版5.0.1里面的一个链接。我用resocks2转发这个link给远程的代理。等远程服务器返回数据之后,resocks2再把收到的数据转给本地的优酷视频XL版软件。 如果不用redsocks2的话,直接连接是没有什么问题的,如果设置用squid3做代理也是没什么问题,但是如果经redsocks2的http转发模式,就会有问题,60%情况下返回数据给优酷视频XL版软件却不完整,然后优酷视频XL版软件又要重新发请求,尝试三次不成功直接就报错了。 如果使用redsocks2的shadowsocks转发模式也没有问题。 所以我估计问题还是出在老的redsocks的http转发模块上,能帮忙看看是什么问题吗? 这个link容易出问题的一个原因可能是返回的文字数据内容太多,大概有48k,造成的redsocks2的http模式的转发失败。

semigodking commented 7 years ago

你能把这个请求的header和response的header发过来看看吗

2017年2月7日 16:11,"X.K. YANG" notifications@github.com写道:

这个软件现在几乎是完美了,用了半年才碰到这一个问题,就是这个长链接,用resocks2做逆向代理, 把这个链接转发给远程的服务器,等远程服务器返回数据之后,resocks2再把收到的数据转给本地的软件。链接是这样的: http://tv.api.3g.youku.com/v3/common/h265/play?id= XMjQ5MjQwNDAwNA==&format=1,5,6,7,8&point=1&language=guoyu& cl=0&site=1&position=7&is_fullscreen=0&player_type=tvdevice&sessionid= 3D9A2665D477E019&device_type=tv&device_brand=samsung&aw=a& rst=m3u8&mac=02%3A00%3A00%3A00%3A00%3A00&version=1.0&ctype=30&did= 3a66405d00839be94778bf0b00091b38&ouid=&hd3_limit=0& streamcoding=h264&dq=mp4&preload=0&withchannel=0&adext=&serial=0&appsign= 0ffe0b6be568508f6d24c54fcec5e925&pid=9b03e6d598427330&guid= 3a66405d00839be94778bf0b00091b38&ngdid=7a0f248d2182d4d90268e61e5b6c2b 8d&ver=5.0.1&network=WIFI&packagename=com.youku.tv.c&ua= SM-G935F&sdk=2.1.0.720&ppid=f54b313db184bb16&uuid=unknow tv_imei&chip=0&media=default&mdl=SM-G935F&osv=7.0&os= Android&dvw=1920&dvh=1080&dprm=2625&im=&aid=3242d01b69d76769&sign= zVK8L2pYhxGLwuSvT3dcakZAKzI= 这个是优酷视频XL版5.0.1里面的一个链接。我用resocks2转发这个link给远程的代理。等远程服务器返回数据之后, resocks2再把收到的数据转给本地的优酷视频XL版软件。 如果不用redsocks2的话,直接连接是没有什么问题的,如果设置用squid3做代理也是没什么问题, 但是如果经redsocks2的http转发模式,就会有问题,60%情况下返回数据给优酷视频XL版软件却不完整,然后优酷视频XL版软件又要重新发请求, 尝试三次不成功直接就报错了。 如果使用redsocks2的shadowsocks转发模式也没有问题。 所以我估计问题还是出在老的redsocks的http转发模块上,能帮忙看看是什么问题吗? 这个link容易出问题的一个原因可能是返回的文字数据内容太多,大概有48k,造成的redsocks2的http模式的转发失败。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/semigodking/redsocks/issues/64, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-rj-UTAOJBozAnMBcHMdK5hE9YATASks5raCcrgaJpZM4L5LsQ .

yanggis commented 7 years ago

您好,感谢回复,出问题的主要是这两个链接,第一个的header和response是这样的:

GET http://tv.api.3g.youku.com/v3/common/h265/play?id=XMjQ4MTc0ODMyOA==&format=1,5,6,7,8&point=1&language=guoyu&cl=0&site=1&position=7&is_fullscreen=0&player_type=tvdevice&sessionid=E105F056DCC1ECDC&device_type=tv&device_brand=samsung&aw=a&rst=m3u8&mac=02%3A00%3A00%3A00%3A00%3A00&version=1.0&ctype=30&did=3a66405d00839be94778bf0b00091b38&ouid=&hd3_limit=0&streamcoding=h264&dq=mp4&preload=0&with_channel=0&adext=&serial=0&appsign=0ffe0b6be568508f6d24c54fcec5e925&pid=9b03e6d598427330&guid=3a66405d00839be94778bf0b00091b38&ngdid=7a0f248d2182d4d90268e61e5b6c2b8d&ver=5.0.1&network=WIFI&packagename=com.youku.tv.c&ua=SM-G935F&sdk=2.1.0.720&ppid=f54b313db184bb16&uuid=unknow_tv_imei&chip=0&media=default&mdl=SM-G935F&osv=7.0&os=Android&dvw=1920&dvh=1080&dprm=2625&im=&aid=3242d01b69d76769&sign=wDYY98rNFVELnOzaLxsBUnbUxxA= HTTP/1.1 User-Agent: Youku SmartTV;5.0.1;Android;7.0;SM-G935F encrypttype: 1 Host: tv.api.3g.youku.com Proxy-Connection: close Connection: close

HTTP/1.1 200 OK Server: nginx/1.0.4 Date: Tue, 07 Feb 2017 02:04:34 GMT Content-Type: application/json; charset=UTF-8 Vary: Accept-Encoding Vary: Accept-Encoding Content-Length: 36854 ETag: "c9479e9902a565c59fb25f8e8731b3a14fd33cf6" Set-Cookie: userTrack_predict=222580077%2C1789.0882223210272%2C1486433074896%2C4.444055272946744E7; Domain=.atm.youku.com; expires=Mon, 02-Feb-2037 02:04:34 GMT; Path=/;updatetime=1486433074908; Domain=.atm.youku.com; expires=Mon, 02-Feb-2037 02:04:34 GMT; Path=/;track_castids=; Domain=.atm.youku.com; expires=Sat, 08-Apr-2017 02:04:34 GMT; Path=/;lunbo=9%3A1532989_1551752_1542975_1579471%3A2%2C5%2C8_3%2C7_4%2C9%2C10_1%2C6%3A1_10%3A1486515541%7C2%3A1560537%3A1%2C4%2C7%3A8_10%3A1486519461%7C20%3A1578611_1542727%3A-2_1%2C2%2C3%2C4%2C5%3A5_5%3A1486519389%7C2%3A1511901%3A1%3A1_1%3A1486519404%7C20%3A1542708%3A1%2C2%2C3%2C4%3A5_5%3A1486519472%7C300%3A1579111%3A1%3A2_2%3A1486519473%7C2%3A1517688%3A1%3A1_1%3A1486519470%7C2%3A1561479_1578071_1570973%3A5_1%2C3%2C6%2C8_10%3A7_10%3A1486519474%7C20%3A1578306%3A1%3A1_1%3A1486519474%7C9%3A1539271_1536641%3A8_1%3A5_10%3A1486519474%7C2%3A1539645%3A1%2C2%2C3%2C4%2C5%2C6%2C7%3A7_10%3A1486519232%7C300%3A1543418_1506447_1539100%3A21-1%3A2_2%3A1486480708%7C3%3A1569906%3A1%2C4%2C7%3A2_10%3A1486519420%7C3%3A1420204%3A1%3A1_1%3A1486519412%7C20%3A1578611%3A1%2C3%3A3_5%3A1486483259%7C2%3A1453579%3A1%3A1_1%3A1486519208%7C300%3A1533607%3A1%3A2_2%3A1486515963%7C-11%3A1517775%3A1%3A1_1%3A1486519470%7C3%3A1551270_1578615%3A2%2C4%2C9_1%2C6%3A7_10%3A1486515541%7C3%3A1551801_1578615%3A1_3%3A4_5%3A1486519472%7C-12%3A1577819_1571801_1570093%3A5_7%2C9%2C10_1%3A5_10%3A1486519474%7C9%3A1511898_1529709%3A2_1%3A1_2%3A1486482270%7C2%3A1511864%3A1%3A1_1%3A1486518931%7C4%3A1427843_1443841%3A1_2%2C3%2C4%2C5%3A1_5%3A1486519350%7C2%3A1560537_1578614%3A4%2C9%2C10_1%2C2%2C3%2C6%2C7%2C8%3A4_10%3A1486519389%7C2%3A1506293%3A1%3A1_1%3A1486519111%7C2%3A1543498%3A1%3A1_1%3A1486519454%7C300%3A1533606_1522717%3A2_1%3A1_2%3A1486519426%7C3%3A1503298%3A1%2C3%3A4_5%3A1486519470%7C-12%3A1527934%3A1%3A1_1%3A1486482270%7C3%3A1575779_1577590%3A1%2C6_4%3A7_10%3A1486519474%7C10020%3A1576230%3A1%3A2_2%3A1486519474%7C2%3A1543402_1551800_1537197%3A1%2C3%2C5%2C7%2C9_4%2C10_2%2C6%2C8%3A3_10%3A1486519472%7C9%3A1539271_1560542_1536641%3A5_7%2C9%2C10_1%3A10_10%3A1486519356%7C2%3A1443743%3A1%3A1_1%3A1486519412%7C-11%3A1546562_1554254%3A1_2%3A2_2%3A1486515541%7C3%3A1539270%3A1%2C4%2C7%3A1_10%3A1486519468%7C3%3A1492742%3A1%3A1_1%3A1486519111%7C-11%3A1551111%3A1%3A2_2%3A1486518782%7C9%3A1507693%3A1%3A1_2%3A1486519470%7C2%3A1543402_1537164_1575767%3A1%2C3%2C5%2C7%2C9_2%2C6%2C8_4%2C10%3A3_10%3A1486515541%7C3%3A1531819%3A1%2C4%2C7%3A10_10%3A1486519232%7C4%3A1552397%3A1%3A2_2%3A1486519430%7C3%3A1544377%3A1%3A3_5%3A1486518782%7C3%3A1534155%3A1%3A1_1%3A1486519056%7C9%3A1551805_1532991_1579475_1549418%3A2_4%2C6%2C8_10_1%2C3%2C5%2C7%2C9%3A3_10%3A1486519472%7C4%3A1543388%3A1%2C2%2C3%3A3_5%3A1486519458%7C9%3A1560542%3A1%2C4%2C7%3A1_10%3A1486515863%7C300%3A1543434%3A1%3A2_2%3A1486483163%7C9%3A1579479%3A1%3A1_2%3A1486519420; Domain=.atm.youku.com; expires=Wed, 08-Feb-2017 02:04:34 GMT; Path=/;view_record=m%3A1%2Cg%3A1%2Cv%3A1%2Cd%3A1%2Ch%3A2%2Cg%3A1%2Cd%3A1%2Ch%3A1%2Cd%3A1%2Ch%3A1%2Cd%3A1%2Cv%3A1%2Cg%3A1%2Cd%3A1_3062%3A1%2C2219%3A1%2C3038%3A1%2C1003%3A1%2C2223%3A1%2C2199%3A1%2C2219%3A1%2C2038%3A1%2C1007%3A1%2C2038%3A1%2C2223%3A1%2C2074%3A1%2C1020%3A1%2C2219%3A1%2C1003%3A1; Domain=.atm.youku.com; expires=Mon, 02-Feb-2037 02:04:34 GMT; Path=/ X-Cache: MISS from sg.beijing.com X-Cache-Lookup: MISS from sg.beijing.com:4321 Connection: close

{"default_streamtype":"mp4","try_episodes":0,"showid":"387477fb41a011e69c81","adv_showid":"308528","content_label":["\u4fdd\u62a4\u7ea7"],"show_paid":0,"img_hd":"https://r1.ykimg.com/05410408589452466F0E6073DEACB977","results":{"hd3":[{"milliseconds_video":120720,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_00/st/flv/fileid/0300801500589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=28de2d04942b6b00261f806a&hd=3&myp=0&ts=120&ymovie=1&ypremium=0&ypp=0&sign=dd153773def25286ef4c87fda14bd52b&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":50508090,"seconds":120,"milliseconds_audio":120721,"id":"0","fileid":"0300801500589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":129800,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_01/st/flv/fileid/0300801501589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=2ffd4886b1a88b23261f806a&hd=3&myp=0&ts=129&ymovie=1&ypremium=0&ypp=0&sign=dbf5a0779bb802e3c7253347cc43cf66&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":51452008,"seconds":129,"milliseconds_audio":129799,"id":"1","fileid":"0300801501589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":143360,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_02/st/flv/fileid/0300801502589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=49da5ed33e388d5d282c1a2e&hd=3&myp=0&ts=143&ymovie=1&ypremium=0&ypp=0&sign=fb14eba872ed25c322ddae12a8017447&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":55218560,"seconds":143,"milliseconds_audio":143360,"id":"2","fileid":"0300801502589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":139600,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_03/st/flv/fileid/0300801503589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=cf30442dc0ad03ce2412e6a6&hd=3&myp=0&ts=139&ymovie=1&ypremium=0&ypp=0&sign=39bfd1fd76abe298df38ff0ae95b36e6&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":51990387,"seconds":139,"milliseconds_audio":139598,"id":"3","fileid":"0300801503589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":124480,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_04/st/flv/fileid/0300801504589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=d0adc2cca8a8d6ac2412e6a6&hd=3&myp=0&ts=124&ymovie=1&ypremium=0&ypp=0&sign=26c62c0a70cee8cb1c01c6706e26011d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":43722078,"seconds":124,"milliseconds_audio":124483,"id":"4","fileid":"0300801504589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":141480,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_05/st/flv/fileid/0300801505589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4b9cc677669cd8cb2412e6a6&hd=3&myp=0&ts=141&ymovie=1&ypremium=0&ypp=0&sign=55b0bc49b4d4d31f9edee7558dddb562&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":62073802,"seconds":141,"milliseconds_audio":141479,"id":"5","fileid":"0300801505589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":137440,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_06/st/flv/fileid/0300801506589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=5ce6142625309ca8282c1a2e&hd=3&myp=0&ts=137&ymovie=1&ypremium=0&ypp=0&sign=a5cbb1553fac5c1f8259d0f132d42399&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":55489904,"seconds":137,"milliseconds_audio":137439,"id":"6","fileid":"0300801506589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":135160,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_07/st/flv/fileid/0300801507589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=b90ed8971cfc13192412e6a6&hd=3&myp=0&ts=135&ymovie=1&ypremium=0&ypp=0&sign=226f548b4d8149c66b09af63d52a7226&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":50581764,"seconds":135,"milliseconds_audio":135163,"id":"7","fileid":"0300801507589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":144640,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_08/st/flv/fileid/0300801508589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4d9b4545d4bc836a282c1a2e&hd=3&myp=0&ts=144&ymovie=1&ypremium=0&ypp=0&sign=7074ef49c14662168392d691101f5303&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":58142217,"seconds":144,"milliseconds_audio":144637,"id":"8","fileid":"0300801508589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":131400,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_09/st/flv/fileid/0300801509589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=224389f524ae80b3282c1a2e&hd=3&myp=0&ts=131&ymovie=1&ypremium=0&ypp=0&sign=1f9a1b1e89c0c34f8885a4ee4b1542e7&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":51651999,"seconds":131,"milliseconds_audio":131402,"id":"9","fileid":"0300801509589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":134120,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0a/st/flv/fileid/030080150A589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=f0da9192ab7e6d4d282c1a2e&hd=3&myp=0&ts=134&ymovie=1&ypremium=0&ypp=0&sign=8e499c99247a930520d47624dae1ea6d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":50873902,"seconds":134,"milliseconds_audio":134118,"id":"10","fileid":"030080150A589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":144080,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0b/st/flv/fileid/030080150B589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=42fa9903e56d2516282c1a2e&hd=3&myp=0&ts=144&ymovie=1&ypremium=0&ypp=0&sign=4691fea882a7224be8a0e94763229548&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":57200953,"seconds":144,"milliseconds_audio":144080,"id":"11","fileid":"030080150B589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":130800,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0c/st/flv/fileid/030080150C589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4ce2930f347dfdc92412e6a6&hd=3&myp=0&ts=130&ymovie=1&ypremium=0&ypp=0&sign=c8337488c7ef8e1fe3ee17f3f498b833&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":49454599,"seconds":130,"milliseconds_audio":130798,"id":"12","fileid":"030080150C589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":126640,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0d/st/flv/fileid/030080150D589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=9060eaed48bd1a1d282c1a2e&hd=3&myp=0&ts=126&ymovie=1&ypremium=0&ypp=0&sign=5d4d658a5ae96a0cfaad3e2f8f668781&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":51281377,"seconds":126,"milliseconds_audio":126642,"id":"13","fileid":"030080150D589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":131680,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0e/st/flv/fileid/030080150E589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=e832bbf21ba1dc212412e6a6&hd=3&myp=0&ts=131&ymovie=1&ypremium=0&ypp=0&sign=48751c162ed6664862d29ab1179a2c26&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":55036169,"seconds":131,"milliseconds_audio":131680,"id":"14","fileid":"030080150E589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":131400,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0f/st/flv/fileid/030080150F589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=2a22cd0422bdc2932412e6a6&hd=3&myp=0&ts=131&ymovie=1&ypremium=0&ypp=0&sign=76c1ff3030c78b20ad9b5382c976d8b7&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":48988424,"seconds":131,"milliseconds_audio":131402,"id":"15","fileid":"030080150F589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":121440,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_10/st/flv/fileid/0300801510589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=87d8c09a5e9d60f32412e6a6&hd=3&myp=0&ts=121&ymovie=1&ypremium=0&ypp=0&sign=9f77223fc7a1c94492ec201a6f1fc088&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":47065648,"seconds":121,"milliseconds_audio":121440,"id":"16","fileid":"0300801510589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":120720,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_11/st/flv/fileid/0300801511589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=66963eb19bc297db282c1a2e&hd=3&myp=0&ts=120&ymovie=1&ypremium=0&ypp=0&sign=ca976b037393227e4407525fb9525604&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":45926954,"seconds":120,"milliseconds_audio":120721,"id":"17","fileid":"0300801511589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":149680,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_12/st/flv/fileid/0300801512589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=ecc550c3a3eeec12261f806a&hd=3&myp=0&ts=149&ymovie=1&ypremium=0&ypp=0&sign=5dc97d30a7edae40215d621ad3c2275f&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":50317612,"seconds":149,"milliseconds_audio":149676,"id":"18","fileid":"0300801512589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":112800,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_13/st/flv/fileid/0300801513589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=f8f3fd28ca336c612412e6a6&hd=3&myp=0&ts=112&ymovie=1&ypremium=0&ypp=0&sign=7d17ab2dce1c7f1e173cd7386f4b126a&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":52249204,"seconds":112,"milliseconds_audio":112802,"id":"19","fileid":"0300801513589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":85400,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_14/st/flv/fileid/0300801514589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=d7102976f5f9b11f2412e6a6&hd=3&myp=0&ts=85&ymovie=1&ypremium=0&ypp=0&sign=444ab02fd580f6665c941dfb213c9ab2&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":34965002,"seconds":85,"milliseconds_audio":85403,"id":"20","fileid":"0300801514589452461237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"}],"flvhd":[{"milliseconds_video":382200,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_00/st/flv/fileid/0300020800589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=df24acfb1cf302e3261f806a&hd=0&myp=0&ts=382&ymovie=1&ypremium=0&ypp=0&sign=dd153773def25286ef4c87fda14bd52b&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":20480167,"seconds":382,"milliseconds_audio":382200,"id":"0","fileid":"0300020800589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":379133,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_01/st/flv/fileid/0300020801589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=27a5f297b3f0b3f9261f806a&hd=0&myp=0&ts=379&ymovie=1&ypremium=0&ypp=0&sign=dbf5a0779bb802e3c7253347cc43cf66&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":18739122,"seconds":379,"milliseconds_audio":379136,"id":"1","fileid":"0300020801589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":379467,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_02/st/flv/fileid/0300020802589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=b0b8971720a2e8d3282c1a2e&hd=0&myp=0&ts=379&ymovie=1&ypremium=0&ypp=0&sign=fb14eba872ed25c322ddae12a8017447&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":19672551,"seconds":379,"milliseconds_audio":379460,"id":"2","fileid":"0300020802589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":380667,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_03/st/flv/fileid/0300020803589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=d404aa207d0c8d792412e6a6&hd=0&myp=0&ts=380&ymovie=1&ypremium=0&ypp=0&sign=39bfd1fd76abe298df38ff0ae95b36e6&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":20988632,"seconds":380,"milliseconds_audio":380668,"id":"3","fileid":"0300020803589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":368266,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_04/st/flv/fileid/0300020804589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=6703ec3c45150218261f806a&hd=0&myp=0&ts=368&ymovie=1&ypremium=0&ypp=0&sign=26c62c0a70cee8cb1c01c6706e26011d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":19344850,"seconds":368,"milliseconds_audio":368269,"id":"4","fileid":"0300020804589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":382200,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_05/st/flv/fileid/0300020805589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=94f49fbeb2e5257a2412e6a6&hd=0&myp=0&ts=382&ymovie=1&ypremium=0&ypp=0&sign=55b0bc49b4d4d31f9edee7558dddb562&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":20476091,"seconds":382,"milliseconds_audio":382200,"id":"5","fileid":"0300020805589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":245067,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_06/st/flv/fileid/0300020806589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=86c24873f853644a2412e6a6&hd=0&myp=0&ts=245&ymovie=1&ypremium=0&ypp=0&sign=a5cbb1553fac5c1f8259d0f132d42399&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":11018480,"seconds":245,"milliseconds_audio":245064,"id":"6","fileid":"0300020806589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":219867,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_07/st/flv/fileid/0300020807589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=dc36c347f358ac1f2412e6a6&hd=0&myp=0&ts=219&ymovie=1&ypremium=0&ypp=0&sign=226f548b4d8149c66b09af63d52a7226&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":12776002,"seconds":219,"milliseconds_audio":219893,"id":"7","fileid":"0300020807589445FB1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"}],"m3u8":[{"seconds":2737,"url":"http://pl2.youku.com/playlist/m3u8?ts=1486433074&keyframe=0&vid=XMjQ4MTc0ODMyOA==&type=flv&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":105100800,"id":1,"adv":"http://pl2.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D"}],"m3u8_mp4":[{"seconds":2737,"url":"http://pl2.youku.com/playlist/m3u8?ts=1486433074&keyframe=0&vid=XMjQ4MTc0ODMyOA==&type=mp4&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":183926400,"id":1,"adv":"http://pl2.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D"}],"mp4":[{"milliseconds_video":371240,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_00/st/mp4/fileid/030008070058944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=87024720c13846052412e6a6&hd=1&myp=0&ts=371&ymovie=1&ypremium=0&ypp=0&sign=dd153773def25286ef4c87fda14bd52b&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":41045750,"seconds":371,"milliseconds_audio":371241,"id":"0","fileid":"030008070058944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":402080,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_01/st/mp4/fileid/030008070158944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4a527e91900d2130282c1a2e&hd=1&myp=0&ts=402&ymovie=1&ypremium=0&ypp=0&sign=dbf5a0779bb802e3c7253347cc43cf66&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":42047911,"seconds":402,"milliseconds_audio":402076,"id":"1","fileid":"030008070158944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":383960,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_02/st/mp4/fileid/030008070258944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=5fcfd304a20f65b8261f806a&hd=1&myp=0&ts=383&ymovie=1&ypremium=0&ypp=0&sign=fb14eba872ed25c322ddae12a8017447&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":40830185,"seconds":383,"milliseconds_audio":383966,"id":"2","fileid":"030008070258944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":395160,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_03/st/mp4/fileid/030008070358944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4e2c3ed2f18ce0f1282c1a2e&hd=1&myp=0&ts=395&ymovie=1&ypremium=0&ypp=0&sign=39bfd1fd76abe298df38ff0ae95b36e6&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":45082146,"seconds":395,"milliseconds_audio":395157,"id":"3","fileid":"030008070358944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":411040,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_04/st/mp4/fileid/030008070458944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=a9b3ef887f77d65c282c1a2e&hd=1&myp=0&ts=411&ymovie=1&ypremium=0&ypp=0&sign=26c62c0a70cee8cb1c01c6706e26011d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":44353687,"seconds":411,"milliseconds_audio":411039,"id":"4","fileid":"030008070458944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":402680,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_05/st/mp4/fileid/030008070558944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=201671f12fa804bc282c1a2e&hd=1&myp=0&ts=402&ymovie=1&ypremium=0&ypp=0&sign=55b0bc49b4d4d31f9edee7558dddb562&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":43490523,"seconds":402,"milliseconds_audio":402681,"id":"5","fileid":"030008070558944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":370680,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_06/st/mp4/fileid/030008070658944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=6e82a08075392b45282c1a2e&hd=1&myp=0&ts=370&ymovie=1&ypremium=0&ypp=0&sign=a5cbb1553fac5c1f8259d0f132d42399&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":39995447,"seconds":370,"milliseconds_audio":370730,"id":"6","fileid":"030008070658944E4A1237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"}],"m3u8_hd3":[{"seconds":2737,"url":"http://pl2.youku.com/playlist/m3u8?ts=1486433074&keyframe=0&vid=XMjQ4MTc0ODMyOA==&type=hd3&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":350336000,"id":1,"adv":"http://pl2.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D"}],"m3u8_hd":[{"seconds":2737,"url":"http://pl2.youku.com/playlist/m3u8?ts=1486433074&keyframe=0&vid=XMjQ4MTc0ODMyOA==&type=hd2&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":350336000,"id":1,"adv":"http://pl2.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D"}],"m3u8_flv":[{"seconds":2737,"url":"http://pl2.youku.com/playlist/m3u8?ts=1486433074&keyframe=0&vid=XMjQ4MTc0ODMyOA==&type=flv&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":105100800,"id":1,"adv":"http://pl2.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D"}],"hd2":[{"milliseconds_video":203360,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_00/st/flv/fileid/0300010E0058944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=4a9ee12b05a457e2282c1a2e&hd=2&myp=0&ts=203&ymovie=1&ypremium=0&ypp=0&sign=dd153773def25286ef4c87fda14bd52b&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":43378613,"seconds":203,"milliseconds_audio":203360,"id":"0","fileid":"0300010E0058944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":181120,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_01/st/flv/fileid/0300010E0158944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=a7760503e31d398b282c1a2e&hd=2&myp=0&ts=181&ymovie=1&ypremium=0&ypp=0&sign=dbf5a0779bb802e3c7253347cc43cf66&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":37062858,"seconds":181,"milliseconds_audio":181116,"id":"1","fileid":"0300010E0158944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":201800,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_02/st/flv/fileid/0300010E0258944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=6f0a4b88e0d99f9f261f806a&hd=2&myp=0&ts=201&ymovie=1&ypremium=0&ypp=0&sign=fb14eba872ed25c322ddae12a8017447&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":37886829,"seconds":201,"milliseconds_audio":201805,"id":"2","fileid":"0300010E0258944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":195280,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_03/st/flv/fileid/0300010E0358944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=34417da4aedcd4732412e6a6&hd=2&myp=0&ts=195&ymovie=1&ypremium=0&ypp=0&sign=39bfd1fd76abe298df38ff0ae95b36e6&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":41753042,"seconds":195,"milliseconds_audio":195279,"id":"3","fileid":"0300010E0358944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":190080,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_04/st/flv/fileid/0300010E0458944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=148d1fb4aa44b32f282c1a2e&hd=2&myp=0&ts=190&ymovie=1&ypremium=0&ypp=0&sign=26c62c0a70cee8cb1c01c6706e26011d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":40980283,"seconds":190,"milliseconds_audio":190079,"id":"4","fileid":"0300010E0458944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":196720,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_05/st/flv/fileid/0300010E0558944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=051c7f10f8a2b2e8282c1a2e&hd=2&myp=0&ts=196&ymovie=1&ypremium=0&ypp=0&sign=55b0bc49b4d4d31f9edee7558dddb562&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":36222775,"seconds":196,"milliseconds_audio":196719,"id":"5","fileid":"0300010E0558944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":206680,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_06/st/flv/fileid/0300010E0658944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=5ccd78dbb99632e22412e6a6&hd=2&myp=0&ts=206&ymovie=1&ypremium=0&ypp=0&sign=a5cbb1553fac5c1f8259d0f132d42399&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":43758508,"seconds":206,"milliseconds_audio":206681,"id":"6","fileid":"0300010E0658944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":190240,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_07/st/flv/fileid/0300010E0758944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=9d390d674af467ca261f806a&hd=2&myp=0&ts=190&ymovie=1&ypremium=0&ypp=0&sign=226f548b4d8149c66b09af63d52a7226&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":39859484,"seconds":190,"milliseconds_audio":190241,"id":"7","fileid":"0300010E0758944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":191800,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_08/st/flv/fileid/0300010E0858944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=d2c439342dc20a4f261f806a&hd=2&myp=0&ts=191&ymovie=1&ypremium=0&ypp=0&sign=7074ef49c14662168392d691101f5303&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":37106459,"seconds":191,"milliseconds_audio":191797,"id":"8","fileid":"0300010E0858944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":206400,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_09/st/flv/fileid/0300010E0958944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=17a42e062b49b753261f806a&hd=2&myp=0&ts=206&ymovie=1&ypremium=0&ypp=0&sign=1f9a1b1e89c0c34f8885a4ee4b1542e7&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":44898520,"seconds":206,"milliseconds_audio":206402,"id":"9","fileid":"0300010E0958944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":183320,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0a/st/flv/fileid/0300010E0A58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=40e32108ac08211e261f806a&hd=2&myp=0&ts=183&ymovie=1&ypremium=0&ypp=0&sign=8e499c99247a930520d47624dae1ea6d&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":37165012,"seconds":183,"milliseconds_audio":183322,"id":"10","fileid":"0300010E0A58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":189520,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0b/st/flv/fileid/0300010E0B58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=a86d79a9facc95a7282c1a2e&hd=2&myp=0&ts=189&ymovie=1&ypremium=0&ypp=0&sign=4691fea882a7224be8a0e94763229548&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":38570048,"seconds":189,"milliseconds_audio":189521,"id":"11","fileid":"0300010E0B58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":202320,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0c/st/flv/fileid/0300010E0C58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=9902aa2503f9c298282c1a2e&hd=2&myp=0&ts=202&ymovie=1&ypremium=0&ypp=0&sign=c8337488c7ef8e1fe3ee17f3f498b833&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":34885759,"seconds":202,"milliseconds_audio":202316,"id":"12","fileid":"0300010E0C58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"},{"milliseconds_video":198200,"url":"http://k.youku.com/player/getFlvPath/sid/0486433074836307daeee_0d/st/flv/fileid/0300010E0D58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1?K=65aa1a860ceab17f2412e6a6&hd=2&myp=0&ts=198&ymovie=1&ypremium=0&ypp=0&sign=5d4d658a5ae96a0cfaad3e2f8f668781&guid=3a66405d00839be94778bf0b00091b38&ver=5.0.1&pid=9b03e6d598427330","size":47132469,"seconds":198,"milliseconds_audio":198205,"id":"13","fileid":"0300010E0D58944FA51237011BA6A9FE64C5E6-DCF4-919C-ACC4-985AFFABC7E1"}]},"paid":0,"show_videoseq":1,"vip":0,"try_time":0,"play_adv":1,"is_panorama":0,"try_type":"","points":[{"start":118.045,"title":"\u7247\u5934","type":"head","desc":"\u7247\u5934"},{"start":121.35,"desc":"","type":"contentad","title":""},{"start":389.716,"desc":"","type":"story","title":"\u6606\u4ed1\u6247\u8ba4\u4e3b\u53f8\u97f3 \u58a8\u6e0a\u7834\u683c\u6536\u5f1f\u5b50"},{"start":752.043,"desc":"","type":"story","title":"\u53f8\u97f3\u6478\u9aa8\u63a8\u547d\u6570 \u51e1\u754c\u6e38\u73a9\u9047\u7476\u5149"},{"start":865.272,"desc":"","type":"standard","title":""},{"start":1184.882,"desc":"","type":"story","title":"\u9876\u649e\u4e0a\u795e\u906d\u8d23\u7f5a \u6c34\u7262\u72f1\u5185\u56da\u53f8\u97f3"},{"start":1419.349,"desc":"","type":"story","title":"\u7476\u5149\u6325\u5251\u963b\u52ab\u7262 \u58a8\u6e0a\u65e0\u60e7\u95ef\u5929\u5e9c"},{"start":1750.663,"desc":"","type":"standard","title":""},{"start":1788.089,"desc":"","type":"story","title":"\u6614\u65e5\u540c\u888d\u4eca\u53cd\u76ee \u82cd\u68a7\u4e4b\u5dc5\u51b3\u80dc\u8d1f"},{"start":2158.632,"desc":"","type":"story","title":"\u9752\u4e18\u5bb6\u4e66\u8d60\u6258\u4ed8 \u7384\u5973\u60b2\u6006\u6c42\u6536\u7559"},{"start":2559.623,"title":"\u7247\u5c3e","type":"tail","desc":"\u7247\u5c3e"}],"pay_type":0,"adv_result":{"P":7,"loading_page":"","RSALL":"http://pl.youku.com/playlist/m3u8?ids=%7B%22a1%22%3A%22XMjExNjg5NTcwNA%3D%3D_mp4%22%2C%22a2%22%3A%22XMjQ4NDUxMTM0MA%3D%3D_mp4%22%7D&ts=1486433074898&sid=1487919512990&ctype=21&token=7879&ev=1&oip=2130706433&ep=1acG8A6MLhcFAz4lMyhoN%2BtrqA2YprUHqwREY7Bca9A9UXWbJ8c4kxq87M2MT0eAPKtn1FH5SgJPjYlWPu5vm%2BPjg%3D%3D","VAL":[{"EM":{},"SUE":[{"U":"http://val.atm.youku.com/over?v=620437082&pp=7&ct=d&cs=1003&ca=1577819&ie=864700&uid=805674311&ck=02:00:00:00:00:00&al=15&bl=1&s=308528&td=&st=1&vl=2737.0&ap=2&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=132803%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=1&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=132803&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=529223926&revertpos=-12&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=&etype=300","SDK":"0"}],"VC":"","RS":"http://pl-ali.youku.com/playlist/m3u8?keyframe=0&vid=XMjExNjg5NTcwNA==&type=mp4&ts=1486432495681&sid=148643249568116814638&ctype=21&token=1356&ev=1&oip=2130706433&ep=1ac57jsSkve%2B7TX3FRrAh2DdAa5jWN7%2FBqcoDZimtQerBGQzynRKtdjy8Rsy8aEJObUIJRH81ksJJU%3D","BRS":"","AL":15,"SU":[],"CUF":1,"VT":0,"AT":70,"SDKID":0,"SUS":[{"U":"http://val.atm.youku.com/show?v=620437082&pp=7&ct=d&cs=1003&ca=1577819&ie=864700&uid=805674311&ck=02:00:00:00:00:00&al=15&bl=1&s=308528&td=&st=1&vl=2737.0&ap=2&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=132803%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=1&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=132803&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=529223926&revertpos=-12&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=","SDK":"0"},{"U":"http://t.cr-nielsen.com/hat?_t=i&type=imp&hat_id=MTM3JjI0NiY4MTAwMzQyNSYxMTE1MDgwJjMxNDI2MTM1Jo85&_z=m&OS=0&IMEI=&MAC=0f607264fc6318a92b9e13c65db7cd3c&IDFA=&OPENUDID=&ANDROIDID=6924d4781d267ab2cf2c1f476f99bbda&rnd=54824858","SDK":"0"}],"CUM":[{"U":"http://val.atm.youku.com/click?v=620437082&pp=7&ct=d&cs=1003&ca=1577819&ie=864700&uid=805674311&ck=02:00:00:00:00:00&al=15&bl=1&s=308528&td=&st=1&vl=2737.0&ap=2&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=132803%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=1&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=132803&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=529223926&revertpos=-12&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=&etype=200","SDK":"0"}],"IE":"864700","CU":""},{"EM":{},"SUE":[{"U":"http://val.atm.youku.com/over?v=620437082&pp=7&ct=d&cs=1003&ca=1578306&ie=864715&uid=805674311&ck=02:00:00:00:00:00&al=5&bl=1&s=308528&td=&st=1&vl=2737.0&ap=3&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=134261%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=2&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=134261&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=621127835&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=&etype=300","SDK":"0"}],"VC":"","RS":"http://pl-ali.youku.com/playlist/m3u8?keyframe=0&vid=XMjQ4NDUxMTM0MA==&type=mp4&ts=1486431294712&sid=148643129471217124418&ctype=21&token=1009&ev=1&oip=2130706433&ep=8ozZwBomazUlC9sEckRjSz%2Fxrnw7sGKZ0BobuVP2wYEj1brxsscQLxx179OWD0IKDujIJRH81ksJJU%3D","BRS":"","AL":5,"SU":[],"CUF":1,"VT":0,"AT":70,"SDKID":0,"SUS":[{"U":"http://val.atm.youku.com/show?v=620437082&pp=7&ct=d&cs=1003&ca=1578306&ie=864715&uid=805674311&ck=02:00:00:00:00:00&al=5&bl=1&s=308528&td=&st=1&vl=2737.0&ap=3&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=134261%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=2&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=134261&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=621127835&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=","SDK":"0"},{"U":"http://yktd.m.cn.miaozhen.com/x/k=2037718&p=74sd4&dx=__IPDX__&rt=2&ns=123.206.7.16&ni=__IESID__&v=__LOC__&xa=__ADPLATFORM__&nh=__PIESID__&o=","SDK":"0"}],"CUM":[{"U":"http://val.atm.youku.com/click?v=620437082&pp=7&ct=d&cs=1003&ca=1578306&ie=864715&uid=805674311&ck=02:00:00:00:00:00&al=5&bl=1&s=308528&td=&st=1&vl=2737.0&ap=3&dc=0&sid=E105F056DCC1ECDC&cr=1&pr=19&oidtype=134261%7C0&dq=auto%7Cmp4&uri=-1&bak=0&pc=0&oneid=&ps=0&eff=1&adsid=148643307489349816696&bd=samsung&mdl=SM-G935F&tag=&ip=123.206.7.16&htch=__htch__&tp=2&prp=90&reqid=a03-07ZD-03y6Jn-0Vn-1iz&pid=9b03e6d598427330&aliid=&po=2&yid=&sex=&age=&dvw=1920&dvh=1080&sdkv=&osv=7.0&net=&vr=0&lid=&sr=&paid=false&oid=134261&atid=162&flowmark=dsp_rank%3AA%7Cadx_v_bid%3Amodelv3%7Cadx_p_bid%3Adefault%7Cadx_mix_bid%3AF%7Cmixbid_show%3Abase&advid=621127835&mb=1&os=1&dt=2&avs=5.0.1&aw=a&vc=0&idfa=&ouid=&mac=02:00:00:00:00:00&im=&aid=3242d01b69d76769&guid=3a66405d00839be94778bf0b00091b38&ss=0.0&lot=&lat=&ispcode=&uuid=&etype=200","SDK":"0"}],"IE":"864715","CU":""}]},"title":"\u4e09\u751f\u4e09\u4e16\u5341\u91cc\u6843\u82b1 01","show_vthumburl":"http://r1.ykimg.com/05160000587C6A8367BC3C214D08E845","agegroup":["13\u523015\u5c81","16\u523017\u5c81","18\u5c81\u4ee5\u4e0a"],"videoid":"XMjQ4MTc0ODMyOA==","pk_odshow":"308528","videoid_play":"XMjQ4MTc0ODMyOA==","cats":"\u7535\u89c6\u5267","status":"success","showname":"\u4e09\u751f\u4e09\u4e16\u5341\u91cc\u6843\u82b1","next_video":{"show_videoseq":2,"videoid":"XMjQ5MDQ0NzIxMg==","title":"\u4e09\u751f\u4e09\u4e16\u5341\u91cc\u6843\u82b1 02"},"totalseconds":2737,"sid_data":{"token":"6185","sid":"0486433074836307daeee","oip":"2077099792"}}

这个是优酷视频XL版5.0.1里面的一个链接。用resocks2转发这个link给远程代理。等代理返回数据之后,resocks2再把把数据转给本地的优酷视频XL版软件。 如果不用redsocks2的话,直接连接是没有什么问题的,如果在手机上设置用squid3的代理也是没什么问题,但是如果经redsocks2的http转发模式,就会有问题,60%情况下返回数据给优酷视频XL版软件却不完整,然后优酷视频XL版软件又要重新发请求,尝试三次不成功直接就报错了。

如果使用redsocks2的shadowsocks转发模式也没有问题。 所以我估计问题还是出在老的redsocks的http转发模块上。

yanggis commented 7 years ago

第二个链接是这样的:

GET http://btrace.play.cp81.ott.cibntv.net/kvcollect?BossId=3646&Pwd=1408787169&osVer=7.0&serial=23&platform=1400603&deviceModel=SM-G935F&appVer=3.2.5&p2pVer=1.2.10.192&guid=07B3D18700E081E142ED046B56948734&qq=0&wx=&clientTime=1486517446&step=3&connectElapse=0&dnsElapse=0&domain=&elapse=0&errCode=66058&firstRecvElapse=0&keyID=&p2pkey=&playID=&step=3&svrIP=112.90.140.217&svrPort=8000&svrRetCode=0&svrType=3&totalRecvElapse=0&tryTimes=10 HTTP/1.1 Host: btrace.play.cp81.ott.cibntv.net Accept: /Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/4.0 (compatible; MSIE 5.00; Windows 98) Pragma: no-cache Proxy-Connection: close Connection: close

HTTP/1.1 200 OK Server: NET-EAST-HD/2.0.0 Date: Wed, 08 Feb 2017 01:30:47 GMT Content-Type: image/gif Content-Length: 2 Age: 0 Proxy-Connection: close Connection: close

01

这是正常返回的结果,不正常情况返回的信息是:

http error 400, bad request

semigodking commented 7 years ago

你用的是http-relay的方式吗?

yanggis commented 7 years ago

嗯,是的,用http-relay才会报这个错,如果换到shadowsocks模式就没问题了。

semigodking commented 7 years ago

很奇怪啊,在我这边我试了这两个连接很多次都没有问题啊。我用的是tinyproxy做的测试。你确定这个和对方服务器CDN没有关系?如果可以的话,建议你抓redsocks2到http server的包。

yanggis commented 7 years ago

现在有一点比较麻烦,就是这两个link都是一次性的,用完一次之后,服务器的响应数据和真实的第一次用不一样了。所以很难测试出来问题到底出在哪里。等我再抓到包再来请教,谢谢。