[youku] update stream_types (2017-10-13)

This commit is contained in:
Mort Yao 2017-10-13 23:09:50 +02:00
parent 871d725584
commit d24545e66b
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -41,22 +41,26 @@ class Youku(VideoExtractor):
mobile_ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36'
dispatcher_url = 'vali.cp31.ott.cibntv.net'
# Last updated: 2015-11-24
# Last updated: 2017-10-13
stream_types = [
{'id': 'mp4hd3v2', 'alias-of': 'hd3v2'},
{'id': 'hd3v2', 'container': 'mp4', 'video_profile': '1080P'},
{'id': 'mp4hd3', 'alias-of': 'hd3'},
{'id': 'hd3', 'container': 'flv', 'video_profile': '1080P'},
{'id': 'mp4hd2v2', 'alias-of': 'hd2v2'},
{'id': 'hd2v2', 'container': 'mp4', 'video_profile': '超清'},
{'id': 'mp4hd2', 'alias-of': 'hd2'},
{'id': 'hd3v2', 'container': 'flv', 'video_profile': '1080P'},
{'id': 'mp4hd3', 'container': 'mp4', 'video_profile': '1080P'},
{'id': 'mp4hd3v2', 'container': 'mp4', 'video_profile': '1080P'},
{'id': 'hd2', 'container': 'flv', 'video_profile': '超清'},
{'id': 'mp4hd', 'alias-of': 'mp4'},
{'id': 'mp4sd', 'alias-of': 'mp4'},
{'id': 'mp4', 'container': 'mp4', 'video_profile': '高清'},
{'id': 'flvhd', 'container': 'flv', 'video_profile': '标清'},
{'id': 'hd2v2', 'container': 'flv', 'video_profile': '超清'},
{'id': 'mp4hd2', 'container': 'mp4', 'video_profile': '超清'},
{'id': 'mp4hd2v2', 'container': 'mp4', 'video_profile': '超清'},
{'id': 'flvhd', 'container': 'flv', 'video_profile': '高清'},
{'id': 'mp4hd', 'container': 'mp4', 'video_profile': '高清'},
{'id': '3gphd', 'container': 'mp4', 'video_profile': '高清'},
{'id': 'mp4sd', 'container': 'mp4', 'video_profile': '标清'},
# obsolete?
{'id': 'flv', 'container': 'flv', 'video_profile': '标清'},
{'id': '3gphd', 'container': 'mp4', 'video_profile': '标清3GP'},
{'id': 'mp4', 'container': 'mp4', 'video_profile': '标清'},
]
def __init__(self):