simonfarah / tiktok-bot Goto Github PK
View Code? Open in Web Editor NEW🦾 A bot that generates followers, likes, views, shares and comment likes
License: MIT License
🦾 A bot that generates followers, likes, views, shares and comment likes
License: MIT License
Traceback (most recent call last):
File "/Users/stanni/repo/tBotTest/tiktok-bot.py", line 182, in
driver = webdriver.Chrome(PATH)
File "/Users/stanni/repo/env/tBotTest/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/Users/stanni/repo/env/tBotTest/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 98, in start
self.assert_process_still_running()
File "/Users/stanni/repo/env/tBotTest/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 109, in assert_process_still_running
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: Service /Users/stanni/repo/tBotTest/chromedriver unexpectedly exited. Status code was: -9
Upon opening tiktok-bot.py it closes it self instantly.
Even after having solved the captcha and refreshed zefoy.com, I still get the "You didn't solve the captcha yet. Need to refresh to avoid endless loop" when trying to generate views on a video. The pop up browser just refreshes every 20 seconds.
I also get 502 bad gateway every now and then, any way I can get around this?
the driver doesn't load, and I have no internet, even if I am connected. I am not behind proxies or firewalls!
I looked for the chrome driver for my chrome android version but it doesn't seem to be there, and I downloaded the closest to that version and it failed, and I tried without the chrome driver and that also failed 😞
Hello! I was wondering if you had a solution for this error that I get. So I have all the requirements, everything installed, I open up the python file, enter my video link, I ask for shares, and it opens up chrome and closes immediately. Do you have a solution for this problem?
Hello, thanks for the script.
Bot will open chrome but its empty for a minute, then crashes with following error:
Traceback (most recent call last): File "tiktok-bot.py", line 182, in <module> driver = webdriver.Chrome(PATH) File "/home/user/.local/lib/python3.6/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__ desired_capabilities=desired_capabilities) File "/home/user/.local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/home/user/.local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/home/user/.local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/home/user/.local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist
any solution please? Thank you!
is it fixed i need help i am new to github idk how to r
un these
Once i insert my link for the video and choose my option it just instantly closes python, my chrome drive and chrome version are the sanme (both 99). I have everything in the same folder aswell, im not srue what to do.
I have downloaded python, webdriver, vs code. But , i dont know how to setup them . please help me int that.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
i expected it to send the comment likes to the video that i precised
Screenshots
screen of the error
Desktop (please complete the following information):
Smartphone (please complete the following information):
when i start the bot i get that error after a few seconds even tho i manually solved it.
al momento de poner el link y darle a followers me sale las siguientes lineas:
D:\tiktok\TikTok-Bot-main\TikTok-Bot-main\tiktok-bot.py:182: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
driver = webdriver.Chrome(PATH)
Traceback (most recent call last):
File "D:\phyton\lib\site-packages\selenium\webdriver\common\service.py", line 71, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "D:\phyton\lib\subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\phyton\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\tiktok\TikTok-Bot-main\TikTok-Bot-main\tiktok-bot.py", line 182, in
driver = webdriver.Chrome(PATH)
File "D:\phyton\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "D:\phyton\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 90, in init
self.service.start()
File "D:\phyton\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home
y tengo el chromedriver en la carpeta de tiktok-bot-main
Hi,
I try to download chrome driver but i can’t, I have chrome version 98 and i’m on windows x64. Can you help me pls ?
(sorry for the english i’m french)
Thanks
How to fix this, should i use vpn?
I habe this problem
Can u help ???
Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env, File "/data/data/com.termux/files/usr/lib/python3.10/subprocess.py", line 966, in init self._execute_child(args, executable, preexec_fn, close_fds,
File "/data/data/com.termux/files/usr/lib/python3.10/subprocess.py", line 1840, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/data/data/com.termux/files/home/TikTok-Bot/chromedriver.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/data/com.termux/files/home/TikTok-Bot/tiktok-bot.py", line 182, in
driver = webdriver.Chrome(PATH)
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/data/data/com.termux/files/usr/lib/python3.10/site-packages/selenium/webdriver/common/service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
The error "A generic error occurred. Now will retry again" is displayed just after set the video URL on the option 2 "Get followers" the error is displayed all the time in that specific option.
I followed all your steps but when clicking on the tikto-bot.py it doesn't happen anything. https://streamable.com/6imrc5 chromedriver is same version as my chrome browser which is 98. I installed colorama and the other component. and nothing has worked. Please help.
Hi!
I am receiving an error when trying to run the script.
File "tiktok-bot.py", line 164
SyntaxError: Non-ASCII character '\xc2' in file tiktok-bot.py on line 165, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Any help is appreciated!
A
I'm on MacOS, running the script. I was running it successfully earlier in the week and now this issue started happening. Shortly after choosing likes or views (any of the options cause the issue) the browser will boot up. Once I finish the captcha it will load the next page and then shortly thereafter the script crashes. The error given is in the image below.
OS and chrome versions
It only works for the first time. Then afterwards it says the error:
[9340:30160:1104/094115.911:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Can somebody help me to run it please ? I dont know how to use that chrome
We dont want to use auto matc zefoy proccess bc it needs us verify and etc...
make it easier = import requests , time
and do views and captcha solving thanks
Hello Simon! I hope i dont sound dumb or anything, but i was wondering if i need a vpn for this bot to properly work, im new to all this and ive been doing research but i cant find much.
I hope u can get back to me.
So when I open the the bot it works opening it but when i try to add followers or anything the app just colses and I get nothing downloaded all the things downloaded chromedriver_win32 and exracted it from a zip to a normal file and put it in TikTok-Bot-main'
Can you help me or send me a tutorial video?
I run bot.py and it writes that there is no connection and closes, I looked that some have the same problem and everyone is talking about some kind of "import undetected_chromedriver as uc" , but I paste this command into python and nothing happens
I am new to all of this so maybe this is my fault but i cant seem to open the tiktok-bot.py file.
I have python, selenium and the correct chrome driver installed but whenever I try to open the file it opens then closes automatically.
Tried views. It works fine. But when I try shares it clicks share inserts the link and presses search but it doesnt actually press the share black button. Please see the attached image. It only goes upto pressing search and then exits back to the home page. In the console the error reads Á generic error has occured
".
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python3.6/subprocess.py", line 729, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1364, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/home/anonym/TikTok-Bot/chromedriver.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tiktok-bot.py", line 182, in
driver = webdriver.Chrome(PATH)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/chrome/webdriver.py", line 73, in init
self.service.start()
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/common/service.py", line 88, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home
How to install all and chromedriver?
Steps to follow:
1- Run this command pip install -r requirements.txt
2- Run bot.py (i run this command py bot.py
)
And i get this error:
[~] Loading driver, please wait...
[!] No internet connection
I saw someone else had the same error as me, but I commented out the import undetected_chromedriver as uc
line like you say the guy did and ran step 2 again and still had the error.
When opening the py file it closes and gives me this:
Traceback (most recent call last): File "C:\Users\drous\Downloads\TikTok-Bot-main\TikTok-Bot-main\tiktok-bot.py", line 2, in from selenium import webdriver
Hello, is there a video tutorial for this tool ?
when i press enter the cmd close
Quand je tente de lancer le code, je reçois ce code erreur, comment puis-je solutionner ça, merci !
Traceback (most recent call last):
File "C:\Users\selu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1509, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] Le fichier spécifié est introuvable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\selu\Desktop\Devoir Maisons\tiktok-bot-main\main.py", line 245, in
driver = webdriver.Chrome("driver = webdriver.Chrome(C:\Users\selu\Desktop\Devoir Maisons\chromedriver_win32\chromedriver.exe")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\selu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\selu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
hello i am getting 502 error i used vpn
I used plugin but it didn't work
Are there any alternative sites besides zefoy?
Good day. There is no instructions on line 170 for other users. I am using ubuntu. Please can you assist me with installing correctly
please
To Reproduce
Steps to reproduce the behavior:
Expected behavior
chrome driver opens i do capcha
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
pls be quick help a script kiddy out
yes the title says it, when i try to download colorama, i follow what the tutorial says. so i go to cmd type in pip install colorama. didnt do anything and sorry if im annoying but im super new i just downloaded python so could you help me please?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.