undetected-chromedriver
undetected-chromedriver copied to clipboard
Set a specific data_path for Patcher if the environment is AWS Lambda
This PR addresses this issue: https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/441
@ultrafunkamsterdam @sebdelsol Please merge this; Will simplify life a lot for running on lambda functions out of the box.
Any solve this?
Has anyone resolved this issue?
@ultrafunkamsterdam could you please merge this? I would love for this to be included in the library stable version :)
@ultrafunkamsterdam could you please merge this? I would love for this to be included in the library stable version :) Yes I will merge it in the coming update which will be tomorrow or Monday
I used this. But I am getting this error now. @AktanKasymaliev. Did you not encounter this error? FYI, I got this error after your code modification. Thanks for that tho :) previous error was resolved
[ERROR] PermissionError: [Errno 13] Permission denied: '/tmp/undetected_chromedriver'
Traceback (most recent call last):
File "/var/task/handler.py", line 48, in crawler
browser = uc.Chrome(options=options)
File "/opt/python/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 421, in __init__
browser = subprocess.Popen(
File "/var/lang/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/var/lang/lib/python3.9/subprocess.py", line 1821, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
I used this. But I am getting this error now. @AktanKasymaliev. Did you not encounter this error? FYI, I got this error after your code modification. Thanks for that tho :) previous error was resolved
[ERROR] PermissionError: [Errno 13] Permission denied: '/tmp/undetected_chromedriver' Traceback (most recent call last): File "/var/task/handler.py", line 48, in crawler browser = uc.Chrome(options=options) File "/opt/python/lib/python3.9/site-packages/undetected_chromedriver/__init__.py", line 421, in __init__ browser = subprocess.Popen( File "/var/lang/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/var/lang/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename)
It's probably issues in your path of driver, I wish I helped you but idk