X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/684fbbb940adb6ea4043bc437e527888687a53da..9988a0c7b237b58c40b7fe12d1ffcd1a9b0e5741:/youtube_dl/extractor/nrl.py diff --git a/youtube_dl/extractor/nrl.py b/youtube_dl/extractor/nrl.py index 798b91e..22a2df8 100644 --- a/youtube_dl/extractor/nrl.py +++ b/youtube_dl/extractor/nrl.py @@ -23,8 +23,8 @@ class NRLTVIE(InfoExtractor): def _real_extract(self, url): display_id = self._match_id(url) webpage = self._download_webpage(url, display_id) - q_data = self._parse_json(self._search_regex( - r"(?s)q-data='({.+?})'", webpage, 'player data'), display_id) + q_data = self._parse_json(self._html_search_regex( + r'(?s)q-data="({.+?})"', webpage, 'player data'), display_id) ooyala_id = q_data['videoId'] return self.url_result( 'ooyala:' + ooyala_id, 'Ooyala', ooyala_id, q_data.get('title'))