diff options
author | The Hatsune Daishi <nao20010128@gmail.com> | 2021-03-24 23:33:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 14:33:19 +0000 |
commit | eafcadea261dba64c44c5c17ea8a47ac17256617 (patch) | |
tree | aa51f246fcd33a7ef0f208731a1d917274ff8798 /youtube_dl/extractor/mtv.py | |
parent | a40002444e64957594a1305bb2740fddb477beeb (diff) |
[extractor] escape forgotten dot for hostnames in regular expression (#28530)
Diffstat (limited to 'youtube_dl/extractor/mtv.py')
-rw-r--r-- | youtube_dl/extractor/mtv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index f5e30d22d..600cf2d89 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -320,7 +320,7 @@ class MTVServicesEmbeddedIE(MTVServicesInfoExtractor): @staticmethod def _extract_url(webpage): mobj = re.search( - r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//media.mtvnservices.com/embed/.+?)\1', webpage) + r'<iframe[^>]+?src=(["\'])(?P<url>(?:https?:)?//media\.mtvnservices\.com/embed/.+?)\1', webpage) if mobj: return mobj.group('url') |