From 7fa603bcc389d10523c796623c8a53ff3d422aac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=82=E6=B5=81?= Date: Tue, 24 Sep 2024 08:04:51 +0000 Subject: [PATCH] [litv] Fix test Fixes the following failing test: ____________________ TestAllURLsMatching.test_no_duplicates ____________________ test/test_all_urls.py:79: in test_no_duplicates self.assertTrue(ie.suitable(url), f'{type(ie).__name__} should match URL {url!r}') E AssertionError: False is not true : LiTVIE should match URL 'https://www.litv.tv/promo/miyuezhuan/?content_id=VOD00044841&' --- yt_dlp/extractor/litv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/litv.py b/yt_dlp/extractor/litv.py index 8f2c827f5b..7061991aef 100644 --- a/yt_dlp/extractor/litv.py +++ b/yt_dlp/extractor/litv.py @@ -43,7 +43,7 @@ class LiTVIE(InfoExtractor): 'noplaylist': True, }, }, { - 'url': 'https://www.litv.tv/promo/miyuezhuan/?content_id=VOD00044841&', + 'url': 'https://www.litv.tv/drama/watch/VOD00044841', 'md5': '88322ea132f848d6e3e18b32a832b918', 'info_dict': { 'id': 'VOD00044841',