about summary refs log tree commit diff
path: root/youtube_dl/extractor/mtv.py
diff options
context:
space:
mode:
authorThe Hatsune Daishi <nao20010128@gmail.com>2021-03-24 23:33:19 +0900
committerGitHub <noreply@github.com>2021-03-24 14:33:19 +0000
commiteafcadea261dba64c44c5c17ea8a47ac17256617 (patch)
treeaa51f246fcd33a7ef0f208731a1d917274ff8798 /youtube_dl/extractor/mtv.py
parenta40002444e64957594a1305bb2740fddb477beeb (diff)
downloadyoutube-dl-eafcadea261dba64c44c5c17ea8a47ac17256617.tar.gz
youtube-dl-eafcadea261dba64c44c5c17ea8a47ac17256617.tar.xz
youtube-dl-eafcadea261dba64c44c5c17ea8a47ac17256617.zip
[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.py2
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')