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/generic.py | |
parent | a40002444e64957594a1305bb2740fddb477beeb (diff) |
[extractor] escape forgotten dot for hostnames in regular expression (#28530)
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r-- | youtube_dl/extractor/generic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index c2b1b3bdf..f99d887ca 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -2953,7 +2953,7 @@ class GenericIE(InfoExtractor): webpage) if not mobj: mobj = re.search( - r'data-video-link=["\'](?P<url>http://m.mlb.com/video/[^"\']+)', + r'data-video-link=["\'](?P<url>http://m\.mlb\.com/video/[^"\']+)', webpage) if mobj is not None: return self.url_result(mobj.group('url'), 'MLB') |