diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-09 23:50:53 +0700 |
commit | 197224b7a4e37a6581bf1a0da18d0f67ea61a476 (patch) | |
tree | c2cd8cac66667b65610ca7dc279d0fe98c87ae50 /youtube_dl/extractor/dailymotion.py | |
parent | 89923316210f8e17bb1a085278940e1c56fcff48 (diff) |
Fix some regexes
Diffstat (limited to 'youtube_dl/extractor/dailymotion.py')
-rw-r--r-- | youtube_dl/extractor/dailymotion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/dailymotion.py b/youtube_dl/extractor/dailymotion.py index e9d0dd19c..21a2d0239 100644 --- a/youtube_dl/extractor/dailymotion.py +++ b/youtube_dl/extractor/dailymotion.py @@ -235,7 +235,7 @@ class DailymotionIE(DailymotionBaseInfoExtractor): # vevo embed vevo_id = self._search_regex( - r'<link rel="video_src" href="[^"]*?vevo.com[^"]*?video=(?P<id>[\w]*)', + r'<link rel="video_src" href="[^"]*?vevo\.com[^"]*?video=(?P<id>[\w]*)', webpage, 'vevo embed', default=None) if vevo_id: return self.url_result('vevo:%s' % vevo_id, 'Vevo') |