[tiktok] Fix `extractor_key` used in archive

This commit is contained in:
pukkandan 2021-12-26 15:09:20 +05:30
parent 8126298c1b
commit 0b77924a38
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
1 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ class TikTokUserIE(TikTokBaseIE):
for video in post_list.get('aweme_list', []):
yield {
**self._parse_aweme_video_app(video),
'ie_key': TikTokIE.ie_key(),
'extractor_key': TikTokIE.ie_key(),
'extractor': 'TikTok',
'webpage_url': f'https://tiktok.com/@{user_id}/video/{video["aweme_id"]}',
}
@ -490,7 +490,7 @@ class TikTokBaseListIE(TikTokBaseIE):
for video in post_list.get('aweme_list', []):
yield {
**self._parse_aweme_video_app(video),
'ie_key': TikTokIE.ie_key(),
'extractor_key': TikTokIE.ie_key(),
'extractor': 'TikTok',
'webpage_url': f'https://tiktok.com/@_/video/{video["aweme_id"]}',
}