xtekky/TikTok-ViewBot

V1 works, V2 and V3 doesn't work, please review this.

XOVanready opened this issue · 0 comments

V1 is slow, but once it got to a stupid fast speed, and then freezed 5 minutes after that.

V2 when launced gives me this:
Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v2\main.py", line 272, in
zefoy(None).mainloop()
File "C:\Desktop\TikTok-ViewBot-main\old\v2\main.py", line 238, in mainloop
if self.__solve_captcha(__captcha_image) is True:
File "C:\Desktop\TikTok-ViewBot-main\old\v2\main.py", line 119, in _solve_captcha
if response.json()['status_code'] == 0:
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\l\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\l\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

V3 when launced gives me this:
{x} error - [maximum recursion depth exceeded in comparison]
{x} error - [maximum recursion depth exceeded in comparison]
{x} error - [maximum recursion depth exceeded in comparison]
{x} error - [maximum recursion depth exceeded while calling a Python object]
{x} error - [maximum recursion depth exceeded while calling a Python object]
{x} error - [maximum recursion depth exceeded]
{x} error - [maximum recursion depth exceeded while calling a Python object]
{x} error - [maximum recursion depth exceeded]
{x} error - [maximum recursion depth exceeded]
{x} error - [maximum recursion depth exceeded]
Traceback (most recent call last):
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 382, in prepare_url
scheme, auth, host, port, path, query, fragment = parse_url(url)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\urllib3\util\url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: https://zefoy.comdata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAAAwMDAxMTEyMjIwMDAxMTF+89HTAAAABXRSTlMAf2CAMKS61bwAAABTSURBVCjPzcq7DcAgFENR5zMATfo06TNCViAS+6+CeFi6gglw4eLqaPVtaQpXnkApaQT/k0dw70EAUhCA1AnABGACMAGYAEwAkCOAydv+I5xaZhXWbQrD80TkkQAAAABJRU5ErkJggg==

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 456, in prepare_request
p.prepare(
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 316, in prepare
self.prepare_url(url, params)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 384, in prepare_url
raise InvalidURL(*e.args)
requests.exceptions.InvalidURL: Failed to parse: https://zefoy.comdata:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAAAwMDAxMTEyMjIwMDAxMTF+89HTAAAABXRSTlMAf2CAMKS61bwAAABTSURBVCjPzcq7DcAgFENR5zMATfo06TNCViAS+6+CeFi6gglw4eLqaPVtaQpXnkApaQT/k0dw70EAUhCA1AnABGACMAGYAEwAkCOAydv+I5xaZhXWbQrD80TkkQAAAABJRU5ErkJggg==

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 462, in prepare_request
headers=merge_setting(request.headers, self.headers, dict_class=CaseInsensitiveDict),
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 69, in merge_setting
merged_setting = dict_class(to_key_val_list(session_setting))
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\structures.py", line 46, in init
self.update(data, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib_collections_abc.py", line 997, in update
if isinstance(other, Mapping):
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\abc.py", line 119, in instancecheck
return _abc_instancecheck(cls, instance)
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 462, in prepare_request
headers=merge_setting(request.headers, self.headers, dict_class=CaseInsensitiveDict),
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 69, in merge_setting
merged_setting = dict_class(to_key_val_list(session_setting))
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\structures.py", line 46, in init
self.update(data, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib_collections_abc.py", line 997, in update
if isinstance(other, Mapping):
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\abc.py", line 119, in instancecheck
return _abc_instancecheck(cls, instance)
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 462, in prepare_request
headers=merge_setting(request.headers, self.headers, dict_class=CaseInsensitiveDict),
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 69, in merge_setting
merged_setting = dict_class(to_key_val_list(session_setting))
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\utils.py", line 316, in to_key_val_list
if isinstance(value, Mapping):
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\abc.py", line 119, in instancecheck
return _abc_instancecheck(cls, instance)
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 453, in prepare_request
auth = get_netrc_auth(request.url)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\utils.py", line 185, in get_netrc_auth
loc = os.path.expanduser(f)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\ntpath.py", line 330, in expanduser
if 'USERPROFILE' in os.environ:
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib_collections_abc.py", line 830, in contains
self[key]
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\os.py", line 677, in getitem
value = self._data[self.encodekey(key)]
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\os.py", line 748, in encodekey
return encode(key).upper()
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\os.py", line 742, in check_str
if not isinstance(value, str):
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 444, in prepare_request
cookies = cookiejar_from_dict(cookies)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 521, in cookiejar_from_dict
names_from_jar = [cookie.name for cookie in cookiejar]
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 521, in
names_from_jar = [cookie.name for cookie in cookiejar]
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\http\cookiejar.py", line 1233, in deepvalues
values = vals_sorted_by_key(mapping)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\http\cookiejar.py", line 1228, in vals_sorted_by_key
keys = sorted(adict.keys())
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 444, in prepare_request
cookies = cookiejar_from_dict(cookies)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 518, in cookiejar_from_dict
cookiejar = RequestsCookieJar()
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\http\cookiejar.py", line 1268, in init
policy = DefaultCookiePolicy()
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 528, in request
prep = self.prepare_request(req)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 444, in prepare_request
cookies = cookiejar_from_dict(cookies)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 518, in cookiejar_from_dict
cookiejar = RequestsCookieJar()
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\http\cookiejar.py", line 1268, in init
policy = DefaultCookiePolicy()
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 516, in request
req = Request(
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 237, in init
self.hooks = default_hooks()
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\hooks.py", line 18, in default_hooks
return {event: [] for event in HOOKS}
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 516, in request
req = Request(
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 237, in init
self.hooks = default_hooks()
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 102, in solve
captcha_image = session.get('https://zefoy.com' + captcha_url).content
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "C:\Users\l\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\sessions.py", line 516, in request
req = Request(
RecursionError: maximum recursion depth exceeded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 256, in
if solve(session, a, b) == True:
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 130, in solve
solve(session, captcha_token, captcha_url)
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 130, in solve
solve(session, captcha_token, captcha_url)
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 130, in solve
solve(session, captcha_token, captcha_url)
[Previous line repeated 992 more times]
File "C:\Desktop\TikTok-ViewBot-main\old\v3\main.py", line 129, in solve
print(' ' + sprint('x', 'error -', str(e)))
RecursionError: maximum recursion depth exceeded while calling a Python object

And also when I launch test.py in the main directory it gives me this:
You do not have all of the modules required installed.