projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
621f33c
)
[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 21 Apr 2014 10:37:41 +0000
(12:37 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 21 Apr 2014 10:37:41 +0000
(12:37 +0200)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 4b14cc5bfd99bd8a3176a2fee32ffb1f94c33a30..3c9f98dc305ca82f343caaa0bfcd54cb8df31758 100644
(file)
--- 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')