diff options
author | Sergey M․ <dstftw@gmail.com> | 2014-07-17 01:57:38 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2014-07-17 01:57:38 +0700 |
commit | d8894e24a4f123c1fe84112693047e638b7161df (patch) | |
tree | 91faf1db8cd52a7929577189f4e7231432ca6822 /youtube_dl/extractor | |
parent | 3b09757bacf4518b76ba6fef071ad8e65d6faa19 (diff) |
[rtbf] Fix data video regex
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/rtbf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/rtbf.py b/youtube_dl/extractor/rtbf.py index 205f8a167..dce64e151 100644 --- a/youtube_dl/extractor/rtbf.py +++ b/youtube_dl/extractor/rtbf.py @@ -30,7 +30,7 @@ class RTBFIE(InfoExtractor): page = self._download_webpage('https://www.rtbf.be/video/embed?id=%s' % video_id, video_id) data = json.loads(self._html_search_regex( - r'<div class="js-player-embed" data-video="([^"]+)"', page, 'data video'))['data'] + r'<div class="js-player-embed(?: player-embed)?" data-video="([^"]+)"', page, 'data video'))['data'] video_url = data.get('downloadUrl') or data.get('url') |