Change regex for better matching

This commit is contained in:
01001110 2023-04-02 19:31:05 +08:00
parent 6a9848f94a
commit 24e84f0000
1 changed files with 1 additions and 1 deletions

View File

@ -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'
)