1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[youtube_live_chat] fix bug when trying to set cookies

Closes #194
This commit is contained in:
pukkandan
2021-03-23 17:53:36 +05:30
parent e1feb88fdf
commit 83b20a970d
2 changed files with 2 additions and 2 deletions

View File

@@ -79,8 +79,7 @@ class YoutubeLiveChatReplayFD(FragmentFD):
self._prepare_and_start_frag_download(ctx)
success, raw_fragment = dl_fragment(
'https://www.youtube.com/watch?v={}'.format(video_id))
success, raw_fragment = dl_fragment(info_dict['url'])
if not success:
return False
try: