0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[dailymotion] Fix extraction of vevo videos (fixes #4168)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-11-12 23:32:27 +01:00
parent 73689dafbf
commit 9e05d039e0

View file

@ -94,7 +94,7 @@ def _real_extract(self, url):
# It may just embed a vevo video:
m_vevo = re.search(
r'<link rel="video_src" href="[^"]*?vevo.com[^"]*?videoId=(?P<id>[\w]*)',
r'<link rel="video_src" href="[^"]*?vevo.com[^"]*?video=(?P<id>[\w]*)',
webpage)
if m_vevo is not None:
vevo_id = m_vevo.group('id')