mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 06:27:21 +00:00
fix test
This commit is contained in:
parent
81158863ef
commit
727c762311
|
@ -138,6 +138,7 @@ class MixchMovieIE(InfoExtractor):
|
||||||
'timestamp': int,
|
'timestamp': int,
|
||||||
'uploader_url': 'https://mixch.tv/u/12299174',
|
'uploader_url': 'https://mixch.tv/u/12299174',
|
||||||
'live_status': 'not_live',
|
'live_status': 'not_live',
|
||||||
|
'upload_date': '20240819',
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://mixch.tv/m/61DzpIKE',
|
'url': 'https://mixch.tv/m/61DzpIKE',
|
||||||
|
@ -165,8 +166,8 @@ def _real_extract(self, url):
|
||||||
'like_count': ('movie', 'favCount', {int_or_none}),
|
'like_count': ('movie', 'favCount', {int_or_none}),
|
||||||
'comment_count': ('movie', 'commentCount', {int_or_none}),
|
'comment_count': ('movie', 'commentCount', {int_or_none}),
|
||||||
'timestamp': ('movie', 'published', {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',
|
'live_status': 'not_live',
|
||||||
'__post_extractor': self.extract_comments(video_id),
|
'__post_extractor': self.extract_comments(video_id),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue