paht for aws lambda
This commit is contained in:
parent
f386a5b743
commit
444d9e4aba
|
@ -38,6 +38,8 @@ class Patcher(object):
|
||||||
|
|
||||||
if platform.endswith("win32"):
|
if platform.endswith("win32"):
|
||||||
d = "~/appdata/roaming/undetected_chromedriver"
|
d = "~/appdata/roaming/undetected_chromedriver"
|
||||||
|
elif 'LAMBDA_TASK_ROOT' in os.environ:
|
||||||
|
d = "/tmp/undetected_chromedriver"
|
||||||
elif platform.startswith("linux"):
|
elif platform.startswith("linux"):
|
||||||
d = "~/.local/share/undetected_chromedriver"
|
d = "~/.local/share/undetected_chromedriver"
|
||||||
elif platform.endswith("darwin"):
|
elif platform.endswith("darwin"):
|
||||||
|
|
Loading…
Reference in New Issue