[rtbf] Fix data video regex
authorSergey M․ <dstftw@gmail.com>
Wed, 16 Jul 2014 18:57:38 +0000 (01:57 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 16 Jul 2014 18:57:38 +0000 (01:57 +0700)
youtube_dl/extractor/rtbf.py

index 205f8a167601f9f7c6a20ccf721439a7b070516f..dce64e1517003015722db1097ac83b106cc91136 100644 (file)
@@ -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')