From 0b77924a38deb3647333372a05e0183f9876948e Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 26 Dec 2021 15:09:20 +0530 Subject: [PATCH] [tiktok] Fix `extractor_key` used in archive --- yt_dlp/extractor/tiktok.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/tiktok.py b/yt_dlp/extractor/tiktok.py index 1edb76845..0cd82b560 100644 --- a/yt_dlp/extractor/tiktok.py +++ b/yt_dlp/extractor/tiktok.py @@ -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"]}', }