GithubHelp home page GithubHelp logo

tiktok-massreporter's Introduction

tiktok-massreporter's People

Contributors

imvast 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

Watchers

 avatar  avatar

tiktok-massreporter's Issues

JSONDecodeError

Traceback (most recent call last):
  File "c:\Users\attil\OneDrive\python\tiktokbot\massreport.py", line 64, in <module>
    TikTok()
  File "c:\Users\attil\OneDrive\python\tiktokbot\massreport.py", line 21, in __init__
    self.getinfo()
  File "c:\Users\attil\OneDrive\python\tiktokbot\massreport.py", line 35, in getinfo
    DATA = client.get("https://www.tiktok.com/api/user/detail/?device_id=7098862702289995269&uniqueId=%s" % (self.username)).json()["userInfo"]["user"]
  File "C:\Users\attil\AppData\Local\Programs\Python\Python310\lib\site-packages\httpx\_models.py", line 742, in json
    return jsonlib.loads(self.content.decode(encoding), **kwargs)
  File "C:\Users\attil\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Users\attil\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\attil\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 5 (char 6)

I keep getting this error since yesterday.

Report error "user_info"

  File "c:\Users\andre\Desktop\tokban.py", line 64, in <module>
    TikTok()
  File "c:\Users\andre\Desktop\tokban.py", line 21, in __init__
    self.getinfo()
  File "c:\Users\andre\Desktop\tokban.py", line 35, in getinfo
    DATA = client.get("https://www.tiktok.com/api/user/detail/?device_id=7098862702289995269&uniqueId=%s" % (self.username)).json()["userInfo"]["user"]
KeyError: 'userInfo'```

update

have a lot of erros :C

Error .

Traceback (most recent call last):
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_exceptions.py", line 8, in map_exceptions
yield
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore\backends\sync.py", line 26, in read
return self._sock.recv(max_bytes)
File "C:\Program Files\Python310\lib\ssl.py", line 1259, in recv
return self.read(buflen)
File "C:\Program Files\Python310\lib\ssl.py", line 1132, in read
return self._sslobj.read(len)
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_transports\default.py", line 60, in map_httpcore_exceptions
yield
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_transports\default.py", line 218, in handle_request
resp = self._pool.handle_request(req)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\connection_pool.py", line 253, in handle_request
raise exc
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\connection_pool.py", line 237, in handle_request
response = connection.handle_request(request)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\connection.py", line 90, in handle_request
return self._connection.handle_request(request)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\http11.py", line 105, in handle_request
raise exc
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\http11.py", line 84, in handle_request
) = self._receive_response_headers(**kwargs)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\http11.py", line 148, in _receive_response_headers
event = self._receive_event(timeout=timeout)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_sync\http11.py", line 177, in _receive_event
data = self._network_stream.read(
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore\backends\sync.py", line 24, in read
with map_exceptions(exc_map):
File "C:\Program Files\Python310\lib\contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpcore_exceptions.py", line 12, in map_exceptions
raise to_exc(exc)
httpcore.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\a\Desktop\Tiktok-MassReporter-main\main.py", line 64, in
TikTok()
File "C:\Users\a\Desktop\Tiktok-MassReporter-main\main.py", line 21, in init
self.getinfo()
File "C:\Users\a\Desktop\Tiktok-MassReporter-main\main.py", line 35, in getinfo
DATA = client.get("https://www.tiktok.com/api/user/detail/?device_id=70988627024&uniqueId=%s" % (self.username)).json()["userInfo"]["user"]
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 1039, in get
return self.request(
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 815, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 902, in send
response = self._send_handling_auth(
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 930, in _send_handling_auth
response = self._send_handling_redirects(
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 967, in _send_handling_redirects
response = self._send_single_request(request)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_client.py", line 1003, in _send_single_request
response = transport.handle_request(request)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_transports\default.py", line 217, in handle_request
with map_httpcore_exceptions():
File "C:\Program Files\Python310\lib\contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "C:\Users\a\AppData\Roaming\Python\Python310\site-packages\httpx_transports\default.py", line 77, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.ReadTimeout: The read operation timed out

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.