1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-03 23:43:21 -04:00

[sponskrub] Don't raise error when the video does not exist

Eg: `--convert-sub srt --no-download --sponskrub` gave error before

:ci skip dl
This commit is contained in:
pukkandan
2021-02-08 15:48:12 +05:30
parent df692c5a7a
commit 1bf540d28b
2 changed files with 5 additions and 2 deletions

View File

@@ -2349,7 +2349,7 @@ class YoutubeDL(object):
downloaded.append(fname)
partial_success, real_download = dl(fname, new_info)
success = success and partial_success
info_dict['__postprocessors'] = postprocessors
info_dict['__postprocessors'].append(postprocessors)
info_dict['__files_to_merge'] = downloaded
# Even if there were no downloads, it is being merged only now
info_dict['__real_download'] = True