changed youku url

This commit is contained in:
Lee, Donggu 2013-08-03 20:16:22 +07:00
parent fdccc0f13f
commit 0614a1a323

View File

@ -80,7 +80,7 @@ def parse_page(url):
return id2, title
def get_info(videoId2):
return json.loads(get_html('http://v.youku.com/player/getPlayList/VideoIDS/' + videoId2))
return json.loads(get_html('http://v.youku.com/player/getPlayList/VideoIDS/' + videoId2 + '/timezone/+08/version/5/source/out/Sc/2'))
def find_video(info, stream_type = None):
#key = '%s%x' % (info['data'][0]['key2'], int(info['data'][0]['key1'], 16) ^ 0xA55AA5A5)