mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-08-29 07:11:38 +03:00
@@ -290,7 +290,7 @@ class TVPStreamIE(InfoExtractor):
|
||||
|
||||
def _real_extract(self, url):
|
||||
channel_id = self._match_id(url)
|
||||
channel_url = self._proto_relative_url(f'//stream.tvp.pl/?channel_id={channel_id}' or 'default')
|
||||
channel_url = self._proto_relative_url(f'//stream.tvp.pl/?channel_id={channel_id}')
|
||||
webpage = self._download_webpage(channel_url, channel_id or 'default', 'Downloading channel webpage')
|
||||
channels = self._search_json(
|
||||
r'window\.__channels\s*=', webpage, 'channel list', channel_id,
|
||||
|
||||
Reference in New Issue
Block a user