diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-04-21 12:37:41 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-04-21 12:37:41 +0200 |
commit | 48099643cccebbff39550808a5d2e22b492b10af (patch) | |
tree | 81a683862ed0a7e7fe54572d68b9125815186a7d | |
parent | 621f33c9d00a82c2d119046917a8bb628dc38067 (diff) |
[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
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') |