support recent (2019) squarespace embeds
This commit is contained in:
parent
2f1991ff14
commit
ffa9e0a38e
@ -1558,13 +1558,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
for mobj in re.finditer(r'''(?x)
|
||||
(?:
|
||||
<iframe[^>]+?src=|
|
||||
<iframe[^>]+?src=|
|
||||
data-video-url=|
|
||||
<embed[^>]+?src=|
|
||||
embedSWF\(?:\s*|
|
||||
<object[^>]+data=|
|
||||
new\s+SWFObject\(
|
||||
)
|
||||
(["\'])
|
||||
(["\']|\")
|
||||
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
|
||||
(?:embed|v|p)/[0-9A-Za-z_-]{11}.*?)
|
||||
\1''', webpage)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user