mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
[cntv] merge=False (ffmpeg concat demuxer fails on corrupted segments, see #767)
This commit is contained in:
parent
dcf59e8754
commit
6c293749c3
@ -25,7 +25,8 @@ def cntv_download_by_id(id, title = None, output_dir = '.', merge = True, info_o
|
||||
|
||||
print_info(site_info, title, ext, size)
|
||||
if not info_only:
|
||||
download_urls(urls, title, ext, size, output_dir = output_dir, merge = merge)
|
||||
# avoid corrupted files - don't merge
|
||||
download_urls(urls, title, ext, size, output_dir = output_dir, merge = False)
|
||||
|
||||
def cntv_download(url, output_dir = '.', merge = True, info_only = False, **kwargs):
|
||||
if re.match(r'http://tv\.cntv\.cn/video/(\w+)/(\w+)', url):
|
||||
|
Loading…
Reference in New Issue
Block a user