mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-21 23:52:52 +08:00
[generic] Be more relaxed when looking for aparat embeds (Fixes #2784)
This commit is contained in:
parent
621f33c9d0
commit
48099643cc
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user