From 30a1577c0b3d44dbc3cb45bc1a428ee30c7a21df Mon Sep 17 00:00:00 2001 From: Evil0ctal Date: Sat, 8 Oct 2022 17:59:21 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20TikTok=20album=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scraper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scraper.py b/scraper.py index 379fa89..c2fcc61 100644 --- a/scraper.py +++ b/scraper.py @@ -2,7 +2,7 @@ # -*- encoding: utf-8 -*- # @Author: https://github.com/Evil0ctal/ # @Time: 2021/11/06 -# @Update: 2022/10/07 +# @Update: 2022/10/08 # @Function: # 核心代码,估值1块(๑•̀ㅂ•́)و✧ # 用于爬取Douyin/TikTok数据并以字典形式返回。 @@ -379,9 +379,9 @@ class Scraper: # 视频作者昵称 album_author_nickname = result["aweme_list"][0]['author']["nickname"] # 视频作者ID - album_author_id = result["aweme_list"][0]['author']["sec_uid"] + album_author_id = result["aweme_list"][0]['author']["unique_id"] # 视频作者SEC_UID - album_author_sec_uid = result["aweme_list"][0]['author']["unique_id"] + album_author_sec_uid = result["aweme_list"][0]['author']["sec_uid"] # 作者uid album_author_uid = result["aweme_list"][0]['author']["uid"] # 上传时间戳