Closed Roman-Kasianenko closed 1 year ago
it seems like msToken
is required. I have tried to get it using selenium
and once I have added it into headers
I was able to get the data.
@Roman-Kasianenko Is that possible to generate msToken
with script instead of selenium
?
when trying to run
trending.py
getting empty response:and as a result error in the terminal/console:
I have tried to run it in a different way, using
tiktok-signature
running in docker, like this:got the following output:
as you can see, response from
tiktok-signature
andsignature
is generate, but if we use it in headers in doest work, the script return empty body instead of list of results.also have tried with different urls (for example for the case/url described in
https://github.com/carcabot/tiktok-signature/blob/master/examples/hashtag.js
, but got the same, empty body.To Reproduce run
tranding.py
from the repo or code I provided above iftiktok-signature
is running in docker.