aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-21 12:37:41 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-21 12:37:41 +0200
commit48099643cccebbff39550808a5d2e22b492b10af (patch)
tree81a683862ed0a7e7fe54572d68b9125815186a7d /youtube_dl/extractor/generic.py
parent621f33c9d00a82c2d119046917a8bb628dc38067 (diff)
[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 4b14cc5bf..3c9f98dc3 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -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')