Skip to content

Commit

Permalink
[twitcasting] fix some erratta
Browse files Browse the repository at this point in the history
  • Loading branch information
Lesmiscore committed Jan 11, 2022
1 parent 83aef26 commit 7a179db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt_dlp/extractor/twitcasting.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def find_dmu(x):
except ExtractorError as ex:
self.report_warning(ex)

if stream_server_data and HAVE_WEBSOCKET:
if HAVE_WEBSOCKET:
qq = qualities(['base', 'mobilesource', 'main'])
streams = traverse_obj(stream_server_data, ('llfmp4', 'streams')) or {}
for mode, ws_url in streams.items():
Expand Down Expand Up @@ -225,7 +225,7 @@ def find_dmu(x):
'duration': duration,
'view_count': view_count,
'formats': formats,
'is_live': True,
'is_live': is_live,
}


Expand Down

0 comments on commit 7a179db

Please sign in to comment.