Hello. I tried test on scraping profile, and it shows avatar urls but when I access it (tiktok cdn), it says Access Denied
So, how can I get the images?
Iโd like to subscribe to your api. but this is the main thing I need it for. (scraping profile images).
Do I need a proxy or something?
Partecipa alla discussione - aggiungi un commento di seguito:
Hi. I cannot tell exactly why specific link did not work, as it could be many factors, including tiktok servers availability, whether link was opened instantly or expired then, and many other
But you should consider using proxies for this sort of task anyway, and adjust the pool size if error rate is too high
Also I suggest to check links availability in the same environment where your code is being executed, as in different networks results could differ, especially when talking about hosting IPโs clearness
Then test subset of big enough sized (letโs say 10% of your planned load) links recently received from our APIโs response. In case of 100% error rate reach back to us with specifics
Hello! Thanks for the prompt answer. Iโve used your api before. I think I was subscribed for over a year actually. But I used it for a different purpose. I remember everything worked well. So congrats for that.
To get back to my question, If I understood what youโre saying correctly, you are saying I am rate limited or geographically limited. But this is not the case. I have access to tiktok through the app/website on my account/s. So I am not limited in any way. But I just visited the profile pic url in the api repsponse and it seems it doesnt let me see the image. Just says access denied for some reason. That was the question. If there is any special method to accesing their cdn to download the profile pics that I am not aware of. Can you give me any hint as to how I could do this. (Note: I am a software developer").
Thanks in advance, all the best!
Our API is primarily serves as proxy interface to TikTok data, so that you donโt need to worry about many nuances of parsing and software maintenance
Your intents of usage data we provide, including urls contained in http responses, are outside of our problem solving scope
To address this specific question about accessing tiktok images, you should rely on basic http rate-limit principles, and yes - one of solutions is to use proxies to avoid such limits. Especially if the region where you access this data from is not supported by TikTok