Closed vinayaga-pillai closed 3 years ago
i was able to run it locally by adding chromedriver.exe
to my root folder and changing the code
browser = webdriver.Chrome('./chromedriver.exe', options=options)
after login i exited chrome and removed the new added line and pushed to the heroku master.
still it asks for verification and this time it asks for a captcha, is there any ways to keep them logged in?,like by saving the cookies when we login locally and applying the cookies on the server
i was able to run it locally by adding
chromedriver.exe
to my root folder and changing the codebrowser = webdriver.Chrome('./chromedriver.exe', options=options)
after login i exited chrome and removed the new added line and pushed to the heroku master. still it asks for verification and this time it asks for a captcha, is there any ways to keep them logged in?,like by saving the cookies when we login locally and applying the cookies on the server
I use it like that only. Save the cookie by logging in through my local machine then pushed to heroku. Works fine for me.
Idk if this is a Windows issue or not. I've only tested the code on my Linux machine.
Don't you have .pkl files saved on your local machine after logging in ?
alright i will try using a vm
nvm i was just a idiot lol
I have tried multiple step to login from my local machine
python3 chromium.py
but it didnt runheroku local
andheroku local worker
in cmd but it still didnt workcan you help me around this please