1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-25 10:55:14 +00:00

[youtube] Fix error reporting of "Incomplete data"

Related: #4669
This commit is contained in:
pukkandan
2022-08-16 22:01:48 +05:30
parent c200096c03
commit 3ce2933693
2 changed files with 2 additions and 2 deletions

View File

@@ -809,7 +809,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
# Youtube sometimes sends incomplete data
# See: https://github.com/ytdl-org/youtube-dl/issues/28194
if not traverse_obj(response, *variadic(check_get_keys)):
retry.error = ExtractorError('Incomplete data received')
retry.error = ExtractorError('Incomplete data received', expected=True)
continue
return response