Fixed Regex

This commit is contained in:
Varun Verma 2016-09-25 17:03:02 +05:30
parent 94f67b7f61
commit 3543e7adbc

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',