From aa9f5d4b394f6b4e0e12227bf66cc532666936e0 Mon Sep 17 00:00:00 2001 From: HobbyistDev <105957301+HobbyistDev@users.noreply.github.com> Date: Sat, 14 Dec 2024 06:53:29 +0800 Subject: [PATCH] Set numerical as `\d` instead `0-9` Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com> --- yt_dlp/extractor/xiaohongshu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/xiaohongshu.py b/yt_dlp/extractor/xiaohongshu.py index a41adfae6f..46543b823e 100644 --- a/yt_dlp/extractor/xiaohongshu.py +++ b/yt_dlp/extractor/xiaohongshu.py @@ -34,7 +34,7 @@ class XiaoHongShuIE(InfoExtractor): 'uploader_id': '63439913000000001901f49a', 'duration': 28.073, 'description': '#广州[话题]# #深圳[话题]# #香港[话题]# #街头采访[话题]# #是你喜欢的类型[话题]#', - 'thumbnail': r're:https?://sns-webpic-qc\.xhscdn\.com/\d+/[0-9a-f]+/[^/]+', + 'thumbnail': r're:https?://sns-webpic-qc\.xhscdn\.com/\d+/[\da-f]+/[^/]+', 'tags': ['广州', '深圳', '香港', '街头采访', '是你喜欢的类型'], }, }]