Russell-Newton / TikTokPy

Extract data from TikTok without needing any login information or API keys.
https://pypi.org/project/tiktokapipy/
MIT License
201 stars 25 forks source link

[BUG] X-Bogus creator script is dead #87

Open Hanokiru opened 1 month ago

Hanokiru commented 1 month ago

X-Bogus js creator script doesnt work. Creator repository currently unavailable (https://github.com/aithedev/X-Bogus). I found the same script here https://github.com/carcabot/tiktok-signature/blob/master/javascript/xbogus.js

What i can do to solve this problem?

About problem: Each time i trying to run my application, request to tiktok freezes on api.video func, timeout exceeded.

Timeout 30000ms exceeded.
=========================== logs ===========================
navigating to "https://www.tiktok.com/api/item/detail/?aid=1988&app_name=tiktok_web&browser_language=en-US&browser_platform=Win32&count=20&device_id=&device_platform=web_pc&os=windows&priority_region=&referrer=&region=US&screen_height=0&screen_width=0&browser_name=Mozilla&browser_version=5.0+%28Windows+NT+10.0%3B+Win64%3B+x64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F110.0.5481.38+Safari%2F537.36+Edg%2F110.0.5481.38&cursor=0&itemId=7054940332990942465&X-Bogus=DFSzswSLsuzANamNtwHAAt9WcBnl", waiting until "load"
============================================================

I guess problem in signing.py on 592 line.