At the moment, TikTokPy loads TikTok's website to grab data. This circumvents the need for a verify_fp cookie, but it increases runtime and hinders scalability.
Changes could be made such that API calls are made directly instead of loading pages. A page should only be loaded completely when the API call doesn't work. This could reload the cookies necessary to make future API calls.
Steps towards accomplishing goal:
Identify TikTok API calls necessary to get the information currently expected by TikTokPy
Migrate TikTokPy calls to using API calls unless overridden manually
Create automatic override determined by cookie staleness
At the moment, TikTokPy loads TikTok's website to grab data. This circumvents the need for a
verify_fp
cookie, but it increases runtime and hinders scalability.Changes could be made such that API calls are made directly instead of loading pages. A page should only be loaded completely when the API call doesn't work. This could reload the cookies necessary to make future API calls.
Steps towards accomplishing goal: