Youku: no need to call urls_size (takes too long time and some proxies fail on that step)

This commit is contained in:
Mort Yao 2014-06-28 15:43:46 +02:00
parent 78f5e1b6b1
commit ba37e007d2

View File

@ -72,8 +72,6 @@ class Youku(VideoExtractor):
log.w('Use \'-y\' to specify a proxy server for extracting stream data.\n')
self.streams[stream_id]['src'] = __class__.parse_m3u8(m3u8)
if self.streams[stream_id]['src'] and 'size' not in self.streams[stream_id]:
self.streams[stream_id]['size'] = urls_size(self.streams[stream_id]['src'])
site = Youku()
download = site.download_by_url