[cntv] merge=False (ffmpeg concat demuxer fails on corrupted segments, see #767)

This commit is contained in:
Mort Yao 2015-11-22 04:33:09 +01:00
parent dcf59e8754
commit 6c293749c3

View File

@ -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):