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

[cleanup] Minor cleanup

Closes #3006
This commit is contained in:
pukkandan
2022-03-11 19:35:26 +05:30
parent cf4f42cb97
commit 592b748582
4 changed files with 8 additions and 17 deletions

View File

@@ -22,7 +22,7 @@ class YoutubeLiveChatFD(FragmentFD):
def real_download(self, filename, info_dict):
video_id = info_dict['video_id']
self.to_screen('[%s] Downloading live chat' % self.FD_NAME)
if not self.params.get('skip_download'):
if not self.params.get('skip_download') and info_dict['protocol'] == 'youtube_live_chat':
self.report_warning('Live chat download runs until the livestream ends. '
'If you wish to download the video simultaneously, run a separate yt-dlp instance')