From e9e2fe84a2c3af1febd7e95ab9f025f16985a734 Mon Sep 17 00:00:00 2001 From: HobbyistDev Date: Fri, 1 Mar 2024 13:19:20 +0800 Subject: [PATCH] use regex rather than full string match in `thumbnail` test --- yt_dlp/extractor/viu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/viu.py b/yt_dlp/extractor/viu.py index d7b0107625..41fa9b52f9 100644 --- a/yt_dlp/extractor/viu.py +++ b/yt_dlp/extractor/viu.py @@ -210,7 +210,7 @@ class ViuOTTIE(InfoExtractor): 'description': 'md5:65aa14cb80e0d18acf829513b6d64297', 'series': 'Dr. Stone: Stone Wars', 'series_id': '35837', - 'thumbnail': 'https://prod-images.viu.com/clip_asset_v6/1165917542/1165917580/e31e9fb2dc0d38db7f6c9b4de1f62d55d5fdfb80', + 'thumbnail': r're:https?://prod-images\.viu\.com/clip_asset_v6/\d+/\d+/[a-f0-9]+', }, 'skip': 'Geo-restricted to Indonesia'