You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
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
changed the title
AttributeError: 'browser' object has no attribute 'verifyFp'
[BUG] AttributeError: 'browser' object has no attribute 'verifyFp'
Sep 6, 2020
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.
The text was updated successfully, but these errors were encountered: