mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-04 18:23:06 +01: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)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
video_details_div = self._search_regex(
|
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,
|
webpage,
|
||||||
'div'
|
'div'
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user