mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 21:45:02 +03:00
fix som youku mp4 real flv,twitter mp4 real ts
This commit is contained in:
parent
1900f7608c
commit
5b02bce500
@ -972,9 +972,17 @@ def download_urls(
|
||||
from .processor.ffmpeg import ffmpeg_concat_mp4_to_mp4
|
||||
ffmpeg_concat_mp4_to_mp4(parts, output_filepath)
|
||||
else:
|
||||
print('Merged into %s' % output_filename)
|
||||
try:
|
||||
from .processor.join_mp4 import concat_mp4
|
||||
concat_mp4(parts, output_filepath)
|
||||
print('Merged into %s' % output_filename)
|
||||
except:
|
||||
try:
|
||||
from .processor.join_flv import concat_flv
|
||||
concat_flv(parts, output_filepath)
|
||||
except:
|
||||
from .processor.join_ts import concat_ts
|
||||
concat_ts(parts, output_filepath)
|
||||
except:
|
||||
raise
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user