Closed ACLzz closed 4 years ago
TikTok is responding with an empty to 200 response. They must have changed the endpoint to another path.
There have been some changes in the parameters. Will fix it during the weekend. Cheers
Released a version with the fix Please run
pip install PyTikTokAPI --upgrade
Please verify so that we can close this
I need time to test, it looks like my IP has been blocked.
The issue seems to be fixed now. I had to append a proxy argument to test due to another non-related issue.
self.args.append("--proxy-server=
Thanks,
Thanx
Hello I run into the same error TikTok api is the fanal version.How to fix that.Tanks
Hello! I'm trying to do this:
But i got this:
It is very strange error, cause sometimes it throwing, sometimes not. With the same parameters. Can you fix it?
upd: I tried to print(r.text) in
TikTokAPI.utils.get_req_json
and it shows normal json:Also I've tried to make
json.loads()
this r.text and it still correct, but with your library not. Hmm..upd2: Okay. I found that sometimes tiktok sends empty message:
Output:
You can see that second message is empty.. And it is the same request. I'm requesting for usatiktokers hashtag only but it gets 2 response and one of them is empty. I see that problem in getVideosByHashTag return. First request is for getHashtag() and second (that empty) it is final request