mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-21 17:51:51 +00:00
[vimeo] PEP 8
[ci skip]
This commit is contained in:
parent
3c6b3bf221
commit
f475e88121
1 changed files with 2 additions and 1 deletions
|
@ -359,7 +359,8 @@ class VimeoIE(VimeoBaseInfoExtractor):
|
||||||
urls = []
|
urls = []
|
||||||
# Look for embedded (iframe) Vimeo player
|
# Look for embedded (iframe) Vimeo player
|
||||||
for mobj in re.finditer(
|
for mobj in re.finditer(
|
||||||
r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//player\.vimeo\.com/video/.+?)\1', webpage):
|
r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//player\.vimeo\.com/video/.+?)\1',
|
||||||
|
webpage):
|
||||||
urls.append(VimeoIE._smuggle_referrer(unescapeHTML(mobj.group('url')), url))
|
urls.append(VimeoIE._smuggle_referrer(unescapeHTML(mobj.group('url')), url))
|
||||||
PLAIN_EMBED_RE = (
|
PLAIN_EMBED_RE = (
|
||||||
# Look for embedded (swf embed) Vimeo player
|
# Look for embedded (swf embed) Vimeo player
|
||||||
|
|
Loading…
Reference in a new issue