mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
Youku: no need to call urls_size (takes too long time and some proxies fail on that step)
This commit is contained in:
parent
78f5e1b6b1
commit
ba37e007d2
@ -72,8 +72,6 @@ class Youku(VideoExtractor):
|
|||||||
log.w('Use \'-y\' to specify a proxy server for extracting stream data.\n')
|
log.w('Use \'-y\' to specify a proxy server for extracting stream data.\n')
|
||||||
|
|
||||||
self.streams[stream_id]['src'] = __class__.parse_m3u8(m3u8)
|
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()
|
site = Youku()
|
||||||
download = site.download_by_url
|
download = site.download_by_url
|
||||||
|
Loading…
Reference in New Issue
Block a user