w*w
2 楼
用python downloader在pogoplug上下载了20多部电视剧,很方便。昨天想下海外ip block了。这是很旧的片子,youku是怎么决定是否block?很多新片都没事。有
什么办法绕过吗?
https://github.com/iambus/youku-lixian
什么办法绕过吗?
https://github.com/iambus/youku-lixian
z*0
4 楼
可以搜一下浏览器怎么绕过,我记得好像是要设个http header,然后照样子改一下
python
【在 w****w 的大作中提到】
: 用python downloader在pogoplug上下载了20多部电视剧,很方便。昨天想下: 海外ip block了。这是很旧的片子,youku是怎么决定是否block?很多新片都没事。有
: 什么办法绕过吗?
: https://github.com/iambus/youku-lixian
python
【在 w****w 的大作中提到】
: 用python downloader在pogoplug上下载了20多部电视剧,很方便。昨天想下: 海外ip block了。这是很旧的片子,youku是怎么决定是否block?很多新片都没事。有
: 什么办法绕过吗?
: https://github.com/iambus/youku-lixian
G*B
5 楼
我的也是
p*1
6 楼
Google chrome: unblock youku
h*l
7 楼
卧槽。。我的shipped。。。
w*w
8 楼
看来只要拿video info时用一下proxy就可以了。
https://github.com/zhuzhuor/Unblock-Youku/wiki/%E8%BF%90%E8%A1%8C%E6%A8%A1%
E5%BC%8F%E7%9A%84%E4%BB%8B%E7%BB%8D%E5%92%8C%E5%8C%BA%E5%88%AB
【在 p********1 的大作中提到】
: Google chrome: unblock youku
https://github.com/zhuzhuor/Unblock-Youku/wiki/%E8%BF%90%E8%A1%8C%E6%A8%A1%
E5%BC%8F%E7%9A%84%E4%BB%8B%E7%BB%8D%E5%92%8C%E5%8C%BA%E5%88%AB
【在 p********1 的大作中提到】
: Google chrome: unblock youku
w*w
10 楼
It's working!
Just replace:
def get_info(videoId2):
return json.loads(get_html('http://v.youku.com/player/getPlayList/VideoIDS/'+videoId2))
with:
def get_html_use_proxy(url):
proxy = urllib2.ProxyHandler({"http":"proxy.uku.im"})
opener = urllib2.build_opener(proxy)
response = opener.open(url)
data = response.read()
if response.info().get('Content-Encoding') == 'gzip':
data = ungzip(data)
elif response.info().get('Content-Encoding') == 'deflate':
data = undeflate(data)
return data
def get_info(videoId2):
return json.loads(get_html_use_proxy('http://v.youku.com/player/getPlayList/VideoIDS/'+videoId2))
Just replace:
def get_info(videoId2):
return json.loads(get_html('http://v.youku.com/player/getPlayList/VideoIDS/'+videoId2))
with:
def get_html_use_proxy(url):
proxy = urllib2.ProxyHandler({"http":"proxy.uku.im"})
opener = urllib2.build_opener(proxy)
response = opener.open(url)
data = response.read()
if response.info().get('Content-Encoding') == 'gzip':
data = ungzip(data)
elif response.info().get('Content-Encoding') == 'deflate':
data = undeflate(data)
return data
def get_info(videoId2):
return json.loads(get_html_use_proxy('http://v.youku.com/player/getPlayList/VideoIDS/'+videoId2))
D*n
11 楼
牛人
相关阅读
flash能做到什么复杂程度?请教,如何确定ROUTER 是否BRICKED?下一代cpu在单core性能上还有多少提升空间[合集] i5 超频 烧了这个配置怎么样?关于thinkpad的slic2.1,刚才做了个测试2008 R2 标准版x64学生版[合集] HELP!HELP!!牛奶打翻在laptop上了,怎么办?ASUS O!PLAY影音播放機!無所不播!(一元起標)最近有没有音箱的dealcooler master 460w 电源拖i5够了么?[合集] WD TV Live 简评求助:3850显卡上的2个DVI口只有一个工作?[合集] 最近我的sony电脑的糟心事————求助版上高人,感激不尽[合集] 关于主板上的集成声卡[合集] CPU的工艺[合集] 求router推荐,准备刷dd-wrt做bridge用Asus O!Play 破解win 7 task bar 问题啊Sharp AL-1641CS scanner driver (转载)