diff --git a/TikTokResult.py b/TikTokResult.py index 8d13667..a3e69e2 100644 --- a/TikTokResult.py +++ b/TikTokResult.py @@ -256,8 +256,9 @@ class Result(object): if item == "play_addr": dataNew[item]["uri"] = dataRaw["bit_rate"][0]["play_addr"]["uri"] # 使用 这个api 可以获得1080p - dataNew[item]["url_list"] = "https://aweme.snssdk.com/aweme/v1/play/?video_id=%s&ratio=1080p&line=0" \ - % dataNew[item]["uri"] + # dataNew[item]["url_list"] = "https://aweme.snssdk.com/aweme/v1/play/?video_id=%s&ratio=1080p&line=0" \ + # % dataNew[item]["uri"] + dataNew[item]["url_list"] = dataRaw["bit_rate"][0]["play_addr"]["url_list"][0] continue # 常规 递归遍历 字典