Unverified Commit 718393c6 authored by Sergey M․'s avatar Sergey M․
Browse files

[wistia] Restrict embed regex (closes #25969)

parent 07af16b9
......@@ -56,7 +56,7 @@ class WistiaIE(InfoExtractor):
for match in re.finditer(
''', webpage):
urls.append('wistia:%s' % match.group('id'))
for match in re.finditer(r'(?:data-wistia-?id=["\']|Wistia\.embed\(["\']|id=["\']wistia_)(?P<id>[a-z0-9]{10})', webpage):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment