mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:06:49 +00:00
Change regex for better matching
This commit is contained in:
parent
6a9848f94a
commit
24e84f0000
@ -49,7 +49,7 @@ class ChelseafcIE(InfoExtractor):
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
|
||||
video_details_div = self._search_regex(
|
||||
r'(<div[^>]*\sdata-component\s*=\s*(?:"|\')\s*VideoDetails\s*(?:"|\')[^>]*>)',
|
||||
r'(<div\s[^>]*\bdata-component\s*=\s*(?:"|\')\s*VideoDetails\s*(?:"|\')[^>]*>)',
|
||||
webpage,
|
||||
'div'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user