-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signature token is not working #7
Comments
I also facing this issue. UPD: sing function somehow detects puppeteer environment, so generates wrong signature. |
I am having the same issue. One thing is tiktok has changed their URL from I think we need to get the new tac, waiting for the repo owner to reply. :/ |
@muneeb331 new tac didn't works for me. |
may be they have changed the way its generated. Any clues which script to look for to generate it? |
@muneeb331 take a look to page source for ">tac". Or just dump |
that's will dump the tac which is then used to generate the signature. I am assuming they have changed something with the generation method. |
@carcabot we need you sir :) |
EDIT: That's about all I could find. Rest is a myth to me, sorry |
is it possible that the new tac is being used? |
What do you mean? |
means the tac sent in the NEXTDATA response might be responsible for generating the new signature. EDIT: ive tried it. Its not working. |
@mgp25 I don't know how your PHP repo works but if you could take a look at how we can get the signature now that would be amazing. I guess we could pool some beer money for you too |
I still investigate it, it seems that they added some extra security besides |
@carcabot that is what i was suspecting that they have changed the signature is being generated. Can you point out where to look ? I am going through their JS files. |
Hello, signature is used in TikTok web only (my repo uses android endpoints), it is a basic hashing algorithm the last time I saw it. |
@mgp25 you are right but this repo is built on JS. |
@carcabot any progress? I still cant get my head around what they have changed with their security. |
@mgp25 |
Just checked,
|
Let's move this to Discord, it's faster |
There's no time to waste decoding these strings, there are more changes than Let me know if someone tested this version and confirms that it's working. Greetings. |
@carcabot The older version is not working, Ive opened a separate issue for that version. |
Your sample/test code in the readme is confusing me. (Most of us is interested in the video feed of a specific user.)
|
The new update is working fine |
In Sample code from README it is used as an example, trending list service url (https://www.tiktok.com/trending), i don't know the meaning of type=5. The referer is user just to look a real request. If you want to list videos for a single user you have to use something like this:
You can find these urls in Chrome inspect element -> Network tab. This repo is just for generating signature. Greetings. |
Ok thanks for clarifying. |
It was working till February 12th.But today when I tried it its not working.Even the trending.py script is not working.Its just returning {'statusCode': 200, 'contentType': 'application/json', 'content': ''}
The text was updated successfully, but these errors were encountered: