mirror of
https://github.com/imgyh/tiktok.git
synced 2025-04-05 12:50:20 +08:00
fix(result): 修复1080p清晰度链接
This commit is contained in:
parent
9aaab2f691
commit
ada1851e86
@ -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
|
||||
|
||||
# 常规 递归遍历 字典
|
||||
|
Loading…
x
Reference in New Issue
Block a user