A feature-rich command-line audio/video downloader
[extractor/generic] Extend dailymotion embed regex
Sergey M․1fa2b9841dda
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.pyindex b3f8efc80b..0baa17e8d8 100644--- a/youtube_dl/extractor/generic.py+++ b/youtube_dl/extractor/generic.py@@ -1402,7 +1402,7 @@ class GenericIE(InfoExtractor):# Look for embedded Dailymotion playermatches = re.findall(- r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//(?:www\.)?dailymotion\.com/embed/video/.+?)\1', webpage)+ r'<(?:embed|iframe)[^>]+?src=(["\'])(?P<url>(?:https?:)?//(?:www\.)?dailymotion\.com/(?:embed|swf)/video/.+?)\1', webpage)if matches:return _playlist_from_matches(matches, lambda m: unescapeHTML(m[1]))