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)
|
for mobj in re.finditer(r'''(?x)
|
||||||
(?:
|
(?:
|
||||||
<iframe[^>]+?src=|
|
<iframe[^>]+?src=|
|
||||||
|
<iframe[^>]+?src=|
|
||||||
data-video-url=|
|
data-video-url=|
|
||||||
<embed[^>]+?src=|
|
<embed[^>]+?src=|
|
||||||
embedSWF\(?:\s*|
|
embedSWF\(?:\s*|
|
||||||
<object[^>]+data=|
|
<object[^>]+data=|
|
||||||
new\s+SWFObject\(
|
new\s+SWFObject\(
|
||||||
)
|
)
|
||||||
(["\'])
|
(["\']|\")
|
||||||
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
|
(?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/
|
||||||
(?:embed|v|p)/[0-9A-Za-z_-]{11}.*?)
|
(?:embed|v|p)/[0-9A-Za-z_-]{11}.*?)
|
||||||
\1''', webpage)]
|
\1''', webpage)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user