From 971d901d129403e875a04dd92109507a03fbc070 Mon Sep 17 00:00:00 2001
From: bashonly <88596187+bashonly@users.noreply.github.com>
Date: Sun, 4 Jun 2023 07:03:44 -0500
Subject: [PATCH] [extractor/tencent] Fix fatal metadata extraction (#7219)
Closes #7177
Authored by: bashonly
---
yt_dlp/extractor/tencent.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/yt_dlp/extractor/tencent.py b/yt_dlp/extractor/tencent.py
index 42a2175b0..6618ea4e6 100644
--- a/yt_dlp/extractor/tencent.py
+++ b/yt_dlp/extractor/tencent.py
@@ -163,11 +163,9 @@ class VQQBaseIE(TencentBaseIE):
_REFERER = 'v.qq.com'
def _get_webpage_metadata(self, webpage, video_id):
- return self._parse_json(
- self._search_regex(
- r'(?s)',
- webpage, 'pinia data', fatal=False),
- video_id, transform_source=js_to_json, fatal=False)
+ return self._search_json(
+ r'