From 727c76231179c14ffbd2be13d3d6ce1e48c7b888 Mon Sep 17 00:00:00 2001 From: Sakura286 Date: Tue, 10 Sep 2024 23:23:41 +0800 Subject: [PATCH] fix test --- yt_dlp/extractor/mixch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/mixch.py b/yt_dlp/extractor/mixch.py index a248e304dc..9bda5e532a 100644 --- a/yt_dlp/extractor/mixch.py +++ b/yt_dlp/extractor/mixch.py @@ -138,6 +138,7 @@ class MixchMovieIE(InfoExtractor): 'timestamp': int, 'uploader_url': 'https://mixch.tv/u/12299174', 'live_status': 'not_live', + 'upload_date': '20240819', }, }, { 'url': 'https://mixch.tv/m/61DzpIKE', @@ -165,8 +166,8 @@ def _real_extract(self, url): 'like_count': ('movie', 'favCount', {int_or_none}), 'comment_count': ('movie', 'commentCount', {int_or_none}), 'timestamp': ('movie', 'published', {int_or_none}), + 'uploader_url': ('ownerInfo', 'id', {lambda x: x and f'https://mixch.tv/u/{x}'}), }), - 'uploader_url': ('ownerInfo', 'id', {lambda x: x and f'https://mixch.tv/u/{x}'}), 'live_status': 'not_live', '__post_extractor': self.extract_comments(video_id), }