mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 17:22:31 +01:00
[tiktok] Fix extractor_key
used in archive
This commit is contained in:
parent
8126298c1b
commit
0b77924a38
@ -447,7 +447,7 @@ def _entries_api(self, webpage, user_id, username):
|
|||||||
for video in post_list.get('aweme_list', []):
|
for video in post_list.get('aweme_list', []):
|
||||||
yield {
|
yield {
|
||||||
**self._parse_aweme_video_app(video),
|
**self._parse_aweme_video_app(video),
|
||||||
'ie_key': TikTokIE.ie_key(),
|
'extractor_key': TikTokIE.ie_key(),
|
||||||
'extractor': 'TikTok',
|
'extractor': 'TikTok',
|
||||||
'webpage_url': f'https://tiktok.com/@{user_id}/video/{video["aweme_id"]}',
|
'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', []):
|
for video in post_list.get('aweme_list', []):
|
||||||
yield {
|
yield {
|
||||||
**self._parse_aweme_video_app(video),
|
**self._parse_aweme_video_app(video),
|
||||||
'ie_key': TikTokIE.ie_key(),
|
'extractor_key': TikTokIE.ie_key(),
|
||||||
'extractor': 'TikTok',
|
'extractor': 'TikTok',
|
||||||
'webpage_url': f'https://tiktok.com/@_/video/{video["aweme_id"]}',
|
'webpage_url': f'https://tiktok.com/@_/video/{video["aweme_id"]}',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user