mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-11 11:24:01 +00:00
revert
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
parent
db7d841f8a
commit
504d764cc4
@ -1684,11 +1684,11 @@ class TwitterBroadcastIE(TwitterBaseIE, PeriscopeBaseIE):
|
||||
else:
|
||||
broadcast_id = display_id
|
||||
|
||||
if not (broadcast := self._call_api(
|
||||
'broadcasts/show.json', broadcast_id, {'ids': broadcast_id},
|
||||
)['broadcasts'][broadcast_id]):
|
||||
broadcast = self._call_api(
|
||||
'broadcasts/show.json', broadcast_id,
|
||||
{'ids': broadcast_id})['broadcasts'][broadcast_id]
|
||||
if not broadcast:
|
||||
raise ExtractorError('Broadcast no longer exists', expected=True)
|
||||
|
||||
info = self._parse_broadcast_data(broadcast, broadcast_id)
|
||||
info.update({
|
||||
'display_id': display_id,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user