pukkandan
2022-03-05 02:24:17 +05:30
parent 72e995f122
commit 50e93e03a7
21 changed files with 621 additions and 140 deletions
+1 -1
View File
@@ -2397,7 +2397,7 @@ class YoutubeDL(object):
sanitize_string_field(info_dict, 'id')
sanitize_numeric_fields(info_dict)
if (info_dict.get('duration') or 0) <= 0 and info_dict.pop('duration', None):
self.report_warning('"duration" field is negative, there is an error in extractor')
self.report_warning('"duration" field is negative, there is an error in extractor')
if 'playlist' not in info_dict:
# It isn't part of a playlist