Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: 'NoneType' object is not subscriptable #5

Open
lxxiv opened this issue Feb 10, 2021 · 4 comments
Open

Exception: 'NoneType' object is not subscriptable #5

lxxiv opened this issue Feb 10, 2021 · 4 comments

Comments

@lxxiv
Copy link

lxxiv commented Feb 10, 2021

No description provided.

@remlap
Copy link

remlap commented May 31, 2021

Also getting this.

@anridev24
Copy link

same

@mowoe
Copy link

mowoe commented Jul 20, 2021

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.

@TruongKoiDKC
Copy link

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants