Giter VIP home page Giter VIP logo

tiktok-report-bot's Introduction

tiktok-report-bot's People

Contributors

xtekky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiktok-report-bot's Issues

Proxyless?

Does this need proxys? and will it ban my accounts?

New update this has a problem

The program starts off by reporting the account, then it scrapes the videos, then it just goes crazy with errors.

Exception in thread Thread-105 (reportVideo):
Exception in thread Thread-106 (reportVideo)Traceback (most recent call last):
Exception in thread Thread-107 (reportVideo)  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
:
Exception in thread :
Traceback (most recent call last):
Exception in thread Thread-108 (reportVideo)Traceback (most recent call last):
Thread-109 (reportVideo)  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
:
:
    Exception in thread Traceback (most recent call last):
    self.run()Exception in thread Traceback (most recent call last):
Thread-110 (reportVideo)  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()Exception in thread Thread-111 (reportVideo)
Thread-112 (reportVideo)
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
    :
:
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
:
Exception in thread Traceback (most recent call last):
self.run()Traceback (most recent call last):
Traceback (most recent call last):
Thread-113 (reportVideo)
    :
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
Traceback (most recent call last):
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
  File "C:\Program Files\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
    self._target(*self._args, **self._kwargs)
  File "c:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
    self._target(*self._args, **self._kwargs)
  File "c:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
        self.run()self.run()
    self._target(*self._args, **self._kwargs)
      File "C:\Program Files\Python311\Lib\threading.py", line 975, in run

  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
      File "c:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
self.run()    self._target(*self._args, **self._kwargs)    'nickname'          : this.userInfo['userInfo']['user']['nickname'],
    self.run()
  File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
'nickname'          : this.userInfo['userInfo']['user']['nickname'],


  File "c:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
self.run()   File "C:\Program Files\Python311\Lib\threading.py", line 975, in run

   File "C:\Program Files\Python311\Lib\threading.py", line 975, in run
     'nickname'          : this.userInfo['userInfo']['user']['nickname'],          self._target(*self._args, **self._kwargs)     
 'nickname'          : this.userInfo['userInfo']['user']['nickname'],

PS C:\Users\user\Desktop\TikTok-Report-Bot-main> 

Exception has occurred: TypeError
'NoneType' object is not subscriptable
  File "C:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
    'nickname'          : this.userInfo['userInfo']['user']['nickname'],
                          ~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

My problem :/

When I start the program in cmd I get this (I do not consider myself very expert in this world, I appreciate any help, thank you very much.) :

C:\Users\Users\Desktop\TikTok-Report-Bot-main>py main.py
Traceback (most recent call last):
File "C:\Users\Users\Desktop\TikTok-Report-Bot-main\main.py", line 2, in
from utils.api import Api
File "C:\Users\Users\Desktop\TikTok-Report-Bot-main\utils\api.py", line 2, in
from Crypto.Cipher import AES
ModuleNotFoundError: No module named 'Crypto'

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

execjs is bugging

ChatGPT cant even help me fix it

"It looks like you are running a Python script that is using the execjs library, which is a JavaScript interpreter for Python. The error message you are encountering is a ProgramError, which means that an error was encountered while executing JavaScript code through the execjs library.

Specifically, the error message says: "SyntaxError: Expected ';'". This error occurs because JavaScript requires semicolons (;) to separate statements, and it looks like there is a missing semicolon somewhere in the code.

You should try to locate the line of code that is causing this error and add the missing semicolon. This should resolve the issue and allow your script to run successfully."

"PS C:\Users\Desktop\TikTok-Report-Bot-main> c:; cd 'c:\Users\Desktop\TikTok-Report-Bot-main'; & 'C:\Program Files\Python311\python.exe' 'c:\Users\.vscode\extensions\ms-python.python-2023.2.0\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54363' '--' 'c:\Users\Desktop\TikTok-Report-Bot-main\main.py'
Traceback (most recent call last):
File "c:\Users\Desktop\TikTok-Report-Bot-main\main.py", line 60, in
TikReport(cookies).start(username)
File "c:\Users\Desktop\TikTok-Report-Bot-main\main.py", line 47, in start
this.userInfo = Api(cookies = this.cookies).user_info(username).json()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\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\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\AppData\Roaming\Python\Python311\site-packages\execjs_abstract_runtime_context.py", line 37, in call
return self._call(name, *args)
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Roaming\Python\Python311\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\AppData\Roaming\Python\Python311\site-packages\execjs_external_runtime.py", line 78, in eval
return self.exec
(code)
^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Roaming\Python\Python311\site-packages\execjs_abstract_runtime_context.py", line 18, in exec

return self.exec(source)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Roaming\Python\Python311\site-packages\execjs_external_runtime.py", line 88, in exec
return self._extract_result(output)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Roaming\Python\Python311\site-packages\execjs_external_runtime.py", line 167, in _extract_result
raise ProgramError(value)
execjs._exceptions.ProgramError: SyntaxError: Expected ';'
PS C:\Users\Desktop\TikTok-Report-Bot-main> "

Proxy function

Hello, add proxy function because without proxies = but is useless
Like receive alot reports from same IP (same user)
The account never will got banned

Problem #2

The program had problems, so I had to run debugging and this is the error I got. It reports the account like 30 times, then it scrapes 63 videos, and returns that error.

Exception has occurred: TypeError
'NoneType' object is not subscriptable
File "C:\Users\user\Desktop\TikTok-Report-Bot-main\main.py", line 32, in reportVideo
'nickname' : this.userInfo['userInfo']['user']['nickname'],
~~~~~~~~~~~~~^^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

Extra data: line 1 column 1070 (char 1069)

get this error when i start the bot

Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)
Extra data: line 1 column 1070 (char 1069)

error

File "C:\Users\zzzz\Downloads\TikTok-Report-Bot-main (1)\TikTok-Report-Bot-main\main.py", line 8, in
from utils.livecounts import livecounts
ModuleNotFoundError: No module named 'utils.livecounts'

i have problem i need help

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>

dont working

du sagst updated aber geht trzdm nicht
hahhahaeriqoei0gt29itgpo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.