TikTok
TikTok copied to clipboard
Exception: 'NoneType' object is not subscriptable
Also getting this.
same
TikTok is constantly changing its webpage to prevent you from scraping it. The Problem right now seems to be a missing cookie. A quick workaround:
change api.py line 99-100
if not self.verifyFp:
self.verifyFp = self.driver.get_cookie('s_v_web_id')['value']
to
#if not self.verifyFp:
# self.verifyFp = self.driver.get_cookie('s_v_web_id')['value']
(Comment out these two lines.)
Another Problem seems to be that tiktok doesnt like the Twitterbot
User-Agent anymore. To circumvent this, you can either remove it entirely or just run the crawler until you get a different user agent.
same