simonfarah / tiktok-bot

🦾 A bot that generates followers, likes, views, shares and comment likes
MIT License
566 stars 184 forks source link

I have a error #13

Closed Dilovan200 closed 2 years ago

Dilovan200 commented 2 years ago

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

simonfarah commented 2 years ago

Hello, looks like the it's a chromedriver path error, which means that you put the chromedriver in the wrong directory. It should be placed in the same directory as the script. Just like this :

img

However, the issue could also be due to you not using windows and not adjusting the script as I mentioned in the README file.

Dilovan200 commented 2 years ago

like this ? 2022-02-04 (1)

simonfarah commented 2 years ago

Exactly! Now you can run the script, and it should work. Let me know.

Dilovan200 commented 2 years ago

okey have that now but somehow come now that. What am I doing wrong? 2022-02-04 (2)

simonfarah commented 2 years ago

Okay the script is running fine! It's just that the followers option is not available on zefoy right now. Under the followers tab in the browser you can see in red "soon will be update", which means that this option is unavailable right now. However, it looks like the other options are available, you can run the script to generate them! You can run the script maybe after a few hours or a day to see if the followers option is available again.

Dilovan200 commented 2 years ago

okey Thanks