Remove unnecessary grouping from regex

This commit is contained in:
Varun Verma 2016-09-25 13:23:35 +05:30
parent 9ece2259c1
commit 94f67b7f61

View File

@ -100,7 +100,7 @@ class LiveLeakIE(InfoExtractor):
else:
# Maybe an embed?
embed_url = self._search_regex(
r'<iframe[^>]+src="((http://www.prochan.com/embed\?)|(http://www.youtube.com/embed)[^"]+)"',
r'<iframe[^>]+src="((?:http://www.prochan.com/embed\?)|(?:http://www.youtube.com/embed)[^"]+)"',
webpage, 'embed URL')
return {
'_type': 'url_transparent',