mirror of
https://github.com/Evil0ctal/Douyin_TikTok_Download_API.git
synced 2025-04-20 11:35:01 +08:00
🫡Change api_url
in hybrid_parsing()
This commit is contained in:
parent
a1555399b5
commit
96b0263e09
@ -2,8 +2,8 @@
|
|||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
# @Author: https://github.com/Evil0ctal/
|
# @Author: https://github.com/Evil0ctal/
|
||||||
# @Time: 2021/11/06
|
# @Time: 2021/11/06
|
||||||
# @Update: 2022/12/04
|
# @Update: 2022/12/09
|
||||||
# @Version: 3.1.3
|
# @Version: 3.1.4
|
||||||
# @Function:
|
# @Function:
|
||||||
# 核心代码,估值1块(๑•̀ㅂ•́)و✧
|
# 核心代码,估值1块(๑•̀ㅂ•́)و✧
|
||||||
# 用于爬取Douyin/TikTok数据并以字典形式返回。
|
# 用于爬取Douyin/TikTok数据并以字典形式返回。
|
||||||
@ -390,7 +390,7 @@ class Scraper:
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
"User-Agent": self.tiktok_api_headers["User-Agent"],
|
"User-Agent": self.tiktok_api_headers["User-Agent"],
|
||||||
"api_url": f'https://api.tiktokv.com/aweme/v1/feed/?aweme_id={video_id}&iid=6165993682518218889&device_id={random.randint(10*10*10, 9*10**10)}&aid=1180'
|
"api_url": f'https://api16-normal-c-useast1a.tiktokv.com/aweme/v1/feed/?aweme_id={video_id}&iid=6165993682518218889&device_id={random.randint(10*10*10, 9*10**10)}&aid=1180'
|
||||||
},
|
},
|
||||||
'desc': data["desc"],
|
'desc': data["desc"],
|
||||||
'create_time': data['create_time'],
|
'create_time': data['create_time'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user