mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-14 02:27:42 -07:00
[extractor] escape forgotten dot for hostnames in regular expression (#28530)
This commit is contained in:
parent
a40002444e
commit
eafcadea26
2 changed files with 2 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue