davidteather / TikTok-Api

The Unofficial TikTok API Wrapper In Python
https://davidteather.github.io/TikTok-Api
MIT License
4.76k stars 962 forks source link

UserPosts are not working #33

Closed muneeb331 closed 4 years ago

muneeb331 commented 4 years ago

Trying the following code from the example.

from TikTokApi import TikTokapi

Starts The Api Class

api = TikTokapi("C:\Tfs\Projects\TimeBucksCode\tiktok\browsermob-proxy-2.1.4-bin\browsermob-proxy-2.1.4\bin\browsermob-proxy.bat")

The Number of trending TikToks you want to be displayed

results = 10

userPosts = api.userPosts("khaleelabdullah_")

for tiktok in userPosts: print(tiktok)

print(len(trending))

api.quit_browser()

User posts are not loading, probably they have changed something

image

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.93. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

davidteather commented 4 years ago

I'll have a look at it later.

My guess is that they are now detecting selenium better than before and blocking content.

davidteather commented 4 years ago

@muneeb331

Just released a new update to the api along with fixing the other methods this one is fixed and will allow for easier access.