self.driver = uc.Chrome()
killerghost-92 opened this issue · 5 comments
C:\Users\hp\AppData\Local\Programs\Python\Python311\Scripts\Zefoy-TikTok-Automator-main>py tiktok.py
Traceback (most recent call last):
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Scripts\Zefoy-TikTok-Automator-main\tiktok.py", line 176, in
obj = zefoy()
^^^^^^^
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Scripts\Zefoy-TikTok-Automator-main\tiktok.py", line 24, in init
self.driver = uc.Chrome()
^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver_init_.py", line 409, in init
browser = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1024, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1433, in _execute_child
args = list2cmdline(args)
^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 608, in list2cmdline
for arg in map(os.fsdecode, seq):
File "", line 824, in fsdecode
TypeError: expected str, bytes or os.PathLike object, not NoneType
C:\Users\hp\AppData\Local\Programs\Python\Python311\Scripts\Zefoy-TikTok-Automator-main>
Is google chrome installed?
yes
did you ever fix this problem im trying to download this to but im stuck because on youtube they have you edit the program but the code is different so im trying to figure out where to insert the code , if you even have to.
Let me know
@Aariz01 You do not need to edit the Python script at all. Follow the usage in the github readme file.
@useragents I loaded everything and its still giving me the same error. Im on the last part where you put in tiktok.py an it says tiktok.py is not recognized as internal or external command. Im right there let me know some agent.