diff options
Diffstat (limited to 'gallery_dl/extractor/tiktok.py')
| -rw-r--r-- | gallery_dl/extractor/tiktok.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gallery_dl/extractor/tiktok.py b/gallery_dl/extractor/tiktok.py index 973bd22..f450806 100644 --- a/gallery_dl/extractor/tiktok.py +++ b/gallery_dl/extractor/tiktok.py @@ -42,8 +42,7 @@ class TiktokExtractor(Extractor): continue post = video_detail["itemInfo"]["itemStruct"] - author = post["author"] - post["user"] = author["uniqueId"] + post["user"] = (a := post.get("author")) and a["uniqueId"] or "" post["date"] = text.parse_timestamp(post["createTime"]) original_title = title = post["desc"] |
