[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

View file

@ -447,7 +447,7 @@ def _entries_api(self, webpage, user_id, username):
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 @@ def _entries(self, list_id, display_id):
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"]}',
}