[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)

pull/8/head
Philipp Hagemeister 2014-04-21 12:37:41 +02:00
rodzic 621f33c9d0
commit 48099643cc
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -531,7 +531,7 @@ class GenericIE(InfoExtractor):
return OoyalaIE._build_url_result(mobj.group('ec'))
# Look for Aparat videos
mobj = re.search(r'<iframe src="(http://www\.aparat\.com/video/[^"]+)"', webpage)
mobj = re.search(r'<iframe .*?src="(http://www\.aparat\.com/video/[^"]+)"', webpage)
if mobj is not None:
return self.url_result(mobj.group(1), 'Aparat')