Open khatiwadaaj opened 1 year ago
Theoretically, you could just change API_BASE_URL
to another one that responds in less time.
There is a list of all tiktok backends, but we don't know which ones work.
The best option would probably require testing every single one, saving only those that work to a enum and making an optional parameter that takes in API URL. But you'll still have to test which works better for you.
Thanks for the prompt response. I am trying that now.
I did find couple that improved it my 500ms to a second. It is better than it was before.
I have put a Node JS Express server in AWS EC2 T3 Small instance that uses this scrapper, however, the response time is too slow from when the api call is made and the server responds with the video details. Is there anything that I can look into to optimize the scrapper or is it already full optimized? Any help is appreciated.