[tvp:embed] fix DeprecationWarning

This commit is contained in:
Laura Liberda 2021-02-10 01:50:08 +01:00
parent bffba35446
commit d980ef4e35

View file

@ -318,7 +318,7 @@ class TVPEmbedIE(InfoExtractor):
m.group('embed')
for m
in re.finditer(
r'<iframe[^>]+?src=(["\'])(?P<embed>%s)' % TVPEmbedIE._VALID_URL,
r'(?x)<iframe[^>]+?src=(["\'])(?P<embed>%s)' % TVPEmbedIE._VALID_URL[4:],
webpage)]
def _real_extract(self, url):