mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 12:53:18 +00:00
[rtbf] Fix extraction (closes #7133)
This commit is contained in:
parent
964e7b2dd0
commit
57d1db8dd0
|
@ -36,7 +36,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
data = self._parse_json(
|
data = self._parse_json(
|
||||||
unescapeHTML(self._search_regex(
|
unescapeHTML(self._search_regex(
|
||||||
r'data-video="([^"]+)"', webpage, 'data video')),
|
r'data-media="([^"]+)"', webpage, 'data video')),
|
||||||
video_id)
|
video_id)
|
||||||
|
|
||||||
if data.get('provider').lower() == 'youtube':
|
if data.get('provider').lower() == 'youtube':
|
||||||
|
|
Loading…
Reference in a new issue