Closed lu3do closed 4 years ago
Variables used for the call:
{
"signature": "_02B4Z6wo00f01E3fL4wAAIBBH93tAjt8L9xNzisAAEw351",
"verify": "verify_a27fad55ba581863c69faac9e1a54723",
"url": "https://m.tiktok.com/api/music/detail/?musicId=6844975774663968770&language=en",
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
"signed_url": "https://m.tiktok.com/api/music/detail/?musicId=6844975774663968770&language=en&_signature=_02B4Z6wo00f01E3fL4wAAIBBH93tAjt8L9xNzisAAEw351&verifyFp=verify_a27fad55ba581863c69faac9e1a54723",
"cookies": "MONITOR_WEB_ID=5e5fca6a-9924-4e85-a41a-2615b4f4c4dd; s_v_web_id=verify_a27fad55ba581863c69faac9e1a54723; _ga=GA1.2.257040070.1598368668; _gid=GA1.2.1098048692.1598368668"
}
There's some discussion around this issue in #86 maybe try changing the user agent to an apple mac user agent
I changed the user-agent, and that seems to work.
It looks like TikTok is now requiring a verification method when they suspect a request to be a bot/scrape request, because since a couple of hours ago for almost all my calls the response shows this:
And I haven't really changed anything on my side, I'm including the user-agent, the cookies etc in the call.