diff options
author | Philipp Hagemeister <[email protected]> | 2014-04-21 12:37:41 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-04-21 12:37:41 +0200 |
commit | 48099643cccebbff39550808a5d2e22b492b10af (patch) | |
tree | 81a683862ed0a7e7fe54572d68b9125815186a7d /youtube_dl/extractor | |
parent | 621f33c9d00a82c2d119046917a8bb628dc38067 (diff) | |
download | youtube-dl-48099643cccebbff39550808a5d2e22b492b10af.tar.gz youtube-dl-48099643cccebbff39550808a5d2e22b492b10af.zip |
[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)
Diffstat (limited to 'youtube_dl/extractor')
-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') |