wodsuz / EasyApplyJobsBot

A python bot to automatically apply all Linkedin,Glassdoor, etc Easy Apply jobs based on your preferences. Auto login, auto fill additional questions, apply automatically!
https://www.automated-bots.com/
Other
374 stars 128 forks source link

self.saveCookies() issue #58

Open Elefantex opened 7 months ago

Elefantex commented 7 months ago

I have this error, it does the login then it is stuck in the main screen until it closes. This is the log in the console. ←[93m🤖 Thanks for using Easy Apply Jobs bot, for more information you can visit our site - www.automated-bots.com←[00m ←[93m🌐 Bot will run in Chrome browser and log in Linkedin for you.←[00m

DevTools listening on ws://127.0.0.1:62505/devtools/browser/117d1d49-02dc-411c-97ef-b6efcccef074 [14208:8144:1227/110847.132:ERROR:gl_utils.cc(412)] [.WebGL-00001F9402089C00]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels [14208:8144:1227/110848.169:ERROR:gl_utils.cc(412)] [.WebGL-00001F9400F8E200]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels [14208:8144:1227/110848.502:ERROR:gl_utils.cc(412)] [.WebGL-00001F940208B800]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels [14208:8144:1227/110848.581:ERROR:gl_utils.cc(412)] [.WebGL-00001F9402868000]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat) 🔄 Trying to log in Linkedin... Traceback (most recent call last): File "C:\Users\Samuel\Desktop\Proyectos\Nueva carpeta\EasyApplyJobsBot\linkedin.py", line 258, in Linkedin().linkJobApply() File "C:\Users\Samuel\Desktop\Proyectos\Nueva carpeta\EasyApplyJobsBot\linkedin.py", line 33, in init self.saveCookies() File "C:\Users\Samuel\Desktop\Proyectos\Nueva carpeta\EasyApplyJobsBot\linkedin.py", line 48, in saveCookies pickle.dump(self.driver.get_cookies() , open(self.cookies_path,"wb")) FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Samuel\Desktop\Proyectos\Nueva carpeta\EasyApplyJobsBot\cookies/4d7c7a2dec216a5fda3c21df674d3eaa.pkl'

Elefantex commented 7 months ago

Fixed: linkedin.py

import os

def saveCookies(self): if not os.path.exists(os.path.dirname(self.cookies_path)): os.makedirs(os.path.dirname(self.cookies_path)) pickle.dump(self.driver.get_cookies(), open(self.cookies_path, "wb"))

hilda04 commented 6 months ago

Or just comment out/delete all cookies lines:)