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

i have problem i need help #23

Open
CouCouM opened this issue Mar 2, 2023 · 0 comments
Open

i have problem i need help #23

CouCouM opened this issue Mar 2, 2023 · 0 comments

Comments

@CouCouM
Copy link

CouCouM commented Mar 2, 2023

Traceback (most recent call last):
File "C:\Users\CooCoum\Desktop\TikTok-Report-Bot-main\main.py", line 60, in
TikReport(cookies).start(username)
File "C:\Users\CooCoum\Desktop\TikTok-Report-Bot-main\main.py", line 47, in start
this.userInfo = Api(cookies = this.cookies).user_info(username).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\Desktop\TikTok-Report-Bot-main\utils\api.py", line 111, in user_info
return this.client.get(f'https://www.tiktok.com/api/user/detail/?{this.sign(params, this.userAgent)}', headers = this.get_headers(), cookies = this.cookies)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\Desktop\TikTok-Report-Bot-main\utils\api.py", line 39, in sign
return params + '&X-Bogus=' + this.signer.call('sign', params, ua)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_external_runtime.py", line 92, in _call
return self.eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec
(code)
^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_abstract_runtime_context.py", line 18, in exec

return self.exec(source)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\CooCoum\AppData\Local\Programs\Python\Python311\Lib\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: SyntaxError: ';' attendu

C:\Users\CooCoum\Desktop\TikTok-Report-Bot-main>

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

1 participant