mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 23:02:34 +00:00
[extractor/youtube] Fix duration check for post-live manifestless mode
This commit is contained in:
parent
1275aeb955
commit
a3fb1ca5ab
1 changed files with 1 additions and 1 deletions
|
@ -3455,7 +3455,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
|
|
||||||
if get_first(video_details, 'isPostLiveDvr'):
|
if get_first(video_details, 'isPostLiveDvr'):
|
||||||
self.write_debug('Video is in Post-Live Manifestless mode')
|
self.write_debug('Video is in Post-Live Manifestless mode')
|
||||||
if duration or 0 > 4 * 3600:
|
if (duration or 0) > 4 * 3600:
|
||||||
self.report_warning(
|
self.report_warning(
|
||||||
'The livestream has not finished processing. Only 4 hours of the video can be currently downloaded. '
|
'The livestream has not finished processing. Only 4 hours of the video can be currently downloaded. '
|
||||||
'This is a known issue and patches are welcome')
|
'This is a known issue and patches are welcome')
|
||||||
|
|
Loading…
Reference in a new issue