]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/francetv.py
Update to ytdl v2021-04-01
[yt-dlp.git] / yt_dlp / extractor / francetv.py
index ab0df1bedd646d14f35dc0a11c8052e652b8a904..92ce233ae95ad8ae568c60615bb29cd41219e0e6 100644 (file)
@@ -401,7 +401,7 @@ def _real_extract(self, url):
             (r'player\.load[^;]+src:\s*["\']([^"\']+)',
              r'id-video=([^@]+@[^"]+)',
              r'<a[^>]+href="(?:https?:)?//videos\.francetv\.fr/video/([^@]+@[^"]+)"',
-             r'data-id="([^"]+)"'),
+             r'data-id=["\']([\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})'),
             webpage, 'video id')
 
         return self._make_url_result(video_id)