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

[BUG] AttributeError: 'browser' object has no attribute 'verifyFp' #250

Closed
tiffblahthegiraffe opened this issue Sep 6, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@tiffblahthegiraffe
Copy link

Ran into the AttributeError when running the following script:

from TikTokApi import TikTokApi
api = TikTokApi()
results = 10
trending = api.trending(count=results)


AttributeError Traceback (most recent call last)
in
1 results = 10
2
----> 3 trending = api.trending(count=results)

~/opt/anaconda3/lib/python3.7/site-packages/TikTokApi/tiktok.py in trending(self, count, language, region, proxy)
130 self.add_new_params() ,str(realCount), str(maxCursor), str(region), str(language))
131 b = browser(api_url, language=language, proxy=proxy)
--> 132 res = self.getData(api_url, b, proxy=proxy)
133
134 if 'items' in res.keys():

~/opt/anaconda3/lib/python3.7/site-packages/TikTokApi/tiktok.py in getData(self, api_url, b, language, proxy)
64 url = b.url +
65 "&verifyFp=" + b.verifyFp +
---> 66 "&_signature=" + b.signature
67 r = requests.get(url, headers={
68 'authority': 'm.tiktok.com',

AttributeError: 'browser' object has no attribute 'verifyFp'

I've downloaded chromedriver to and put it in system path and have ran the python script under the same directory.

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Sep 6, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@duplicate-issues
Copy link

Hey @tiffblahthegiraffe,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄

If not, the maintainers will get to this issue shortly.

Cheers,
Your Friendly Neighborhood ProBot

@tiffblahthegiraffe tiffblahthegiraffe changed the title AttributeError: 'browser' object has no attribute 'verifyFp' [BUG] AttributeError: 'browser' object has no attribute 'verifyFp' Sep 6, 2020
@davidteather
Copy link
Owner

Look in the issues tab there’s a ton of issues with the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants