From 8ef229428206db0b5a936408a5a37f3c6cb8d667 Mon Sep 17 00:00:00 2001 From: grqx_wsl <173253225+grqx@users.noreply.github.com> Date: Sat, 2 Nov 2024 02:18:16 +1300 Subject: [PATCH] case insensitive tag matching --- yt_dlp/extractor/boomplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/boomplay.py b/yt_dlp/extractor/boomplay.py index 3672ba7e4..80745c65d 100644 --- a/yt_dlp/extractor/boomplay.py +++ b/yt_dlp/extractor/boomplay.py @@ -119,7 +119,7 @@ def _extract_page_metadata(self, webpage, item_id): metadata_entries.extend(re.findall(r'(?si)
  • (?P.*?)
  • ', details_section) or []) page_metadata = { 'id': item_id, - 'title': self._html_search_regex(r']*>([^<]+)', webpage, 'title', default=None), + 'title': self._html_search_regex(r'(?i)]*>([^<]+)', webpage, 'title', default=None), 'thumbnail': self._html_search_meta(['og:image', 'twitter:image'], webpage, 'thumbnail', default=''), 'like_count': parse_count(self._get_element_by_class_and_tag('btn_favorite', 'button', metadata_div)),