mirror of
https://github.com/soimort/you-get.git
synced 2025-02-12 04:55:21 +03:00
a simple patch for MGTV
Signed-off-by: wwqgtxx <wwqgtxx@gmail.com>
This commit is contained in:
parent
a256b44e3e
commit
5835799a58
@ -75,8 +75,9 @@ class MGTV(VideoExtractor):
|
|||||||
size_this_stream = 0
|
size_this_stream = 0
|
||||||
stream_fileid_list = []
|
stream_fileid_list = []
|
||||||
for i in segment_list_this:
|
for i in segment_list_this:
|
||||||
_, container_this_stream, size_this_seg = url_info(i)
|
if 'json_output' not in kwargs and not kwargs['json_output']:
|
||||||
size_this_stream += size_this_seg
|
_, container_this_stream, size_this_seg = url_info(i)
|
||||||
|
size_this_stream += size_this_seg
|
||||||
stream_fileid_list.append(os.path.basename(i).split('.')[0])
|
stream_fileid_list.append(os.path.basename(i).split('.')[0])
|
||||||
|
|
||||||
#make pieces
|
#make pieces
|
||||||
|
Loading…
Reference in New Issue
Block a user