plowside / Zefoy_TIKTOK_BOT

🪐Bot likes, followers, shares and views on TikTok! ~ fast zefoy with requests, no selenium, free autosolve captcha.
MIT License
66 stars 31 forks source link

Its say again: Cant get captcha list index out of range #16

Closed tajlot closed 3 weeks ago

tajlot commented 3 months ago

Can u make any tutorial how to fix this ?

plowside commented 3 months ago

its cloudflare protection, i cant help

x-o-r-r-o commented 3 months ago

its cloudflare protection, i cant help

It can be acheived via flaresolverr. i have flareresolverr installed, and it bypasses Cloudflare for torrent websites for me without any problem but i do not know how i can add my flareresolverr proxy in your script. i tried to add it in config file but after running script it changed it back to null. Can you please tell me how i can define proxy in your script so i can try flaresolverr with this or if you can update your config file with proxy usage settings that will be very useful. Trust me your bot will not stop working if my flaresolverr tested passed. Just let me know how i can add proxy in your script and i will test everything and wull update here if that worked you can use it to bypass and your script will be unbeatable.

Ok so here is an update. I added proxy in config file 192.168.1.1:8191:: without any username and password and ran the script but i got an error which maybe because your script is not configured to use flaresolverr. below is the error i got upon running with flaresolverr proxy.

Proxies are connected Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 779, in urlopen self._prepare_proxy(conn) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1048, in _prepare_proxy conn.connect() File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connection.py", line 633, in connect self._tunnel() # type: ignore[attr-defined] File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 924, in _tunnel raise OSError(f"Tunnel connection failed: {code} {message.strip()}") OSError: Tunnel connection failed: 404 Not Found

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

urllib3.exceptions.ProxyError: ('Unable to connect to proxy', OSError('Tunnel connection failed: 404 Not Found'))

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

Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 486, in send resp = conn.urlopen( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen retries = retries.increment( File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='zefoy.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 404 Not Found')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/macos/Downloads/Zefoy_TIKTOK_BOT-main/main.py", line 211, in Z.send_captcha() File "/Users/macos/Downloads/Zefoy_TIKTOK_BOT-main/main.py", line 52, in send_captcha if self.get_captcha(): print('Connected to session'); return (True, 'The session already exists') File "/Users/macos/Downloads/Zefoy_TIKTOK_BOT-main/main.py", line 28, in get_captcha request = self.session.get(self.base_url, headers=self.headers) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, kwargs) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, send_kwargs) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/requests/adapters.py", line 513, in send raise ProxyError(e, request=request) requests.exceptions.ProxyError: HTTPSConnectionPool(host='zefoy.com', port=443): Max retries exceeded with url: / (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 404 Not Found')))

x-o-r-r-o commented 3 months ago

Ok so final update. I have bypassed cloudflare successfuly. 👍 do not ask me how because it is a mess right now once i resolved everything i shall update here in few hours but it is not a permanent solution. If you can add another version of bot usage with flaresolverr or can add trigger in this bot to use flaresolverr will be a great help.

x-o-r-r-o commented 3 months ago

Ok so here is how i managed to bypass cloudflare. First i installed a proxy server on my unraid server and configured it with Surfshark vpn and assigned a dedicated ip. so proxy server connects surfshark dedicated server and that ip becomes a http proxy via proxy server i am running on unraid and that proxy is being used in bot config which allow me to bypass cloudflare. Since this is a dedicated clean ip cloudflare never ask for captcha. I hope this will help someone if you are willing to go through all this process. Below are the tools i used. Surfshark Dedicated IP Unraid Server -> Proxy-Server Installed in Unraid Docker Configured VPN in Unraid Server and Converted VPN ip to proxy via Proxy-Server Configure HTTP Proxy in Bot Config File

Darkfinst9 commented 3 months ago

Bro how can i Fix

x-o-r-r-o commented 2 months ago

Bro how can i Fix

I have already mentioned the steps above. Use some google and some brain 🧠 that's all you need to fix this mate.

Darkfinst9 commented 2 months ago

IT DOESNT WORK BRO

Am Mo., 27. Mai 2024 um 08:32 Uhr schrieb XORRO @.***>:

Bro how can i Fix

I have already mentioned the steps above. Use some google and some brain 🧠 that's all you need to fix this mate.

— Reply to this email directly, view it on GitHub https://github.com/plowside/Zefoy_TIKTOK_BOT/issues/16#issuecomment-2132737925, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIWG7F3XECENLR3DZAYRDZTZELHPLAVCNFSM6AAAAABHTCE2BOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSG4ZTOOJSGU . You are receiving this because you commented.Message ID: @.***>