NathanDuma / LinkedIn-Easy-Apply-Bot

Automate LinkedIn Easy Apply job applications and answer application-specific questions.
231 stars 86 forks source link

unable to run #11

Closed ob312 closed 2 years ago

ob312 commented 2 years ago

hi,

I am receiving the error below - sorry no coding experience of any sort. Could you help?

PS C:\Users\XXX\Documents\LinkedIn-Easy-Apply-Bot-master> python3 main.py Traceback (most recent call last): File "C:\Users\XXX\Documents\LinkedIn-Easy-Apply-Bot-master\main.py", line 122, in parameters = validate_yaml() File "C:\Users\XXX\Documents\LinkedIn-Easy-Apply-Bot-master\main.py", line 40, in validate_yaml assert len(parameters['password']) > 0 TypeError: object of type 'int' has no len()

Thank you!

NathanDuma commented 2 years ago

It is because your password is just numbers. When the yaml file gets read, it thinks your password is a number, not a string. You can fix this in 2 ways:

  1. Add quotation marks around your password in the yaml file, or
  2. change the parameters['password'] to '{}'.format(parameters['password'])
ob312 commented 2 years ago

It worked amazing, thanks! Any solution to prevent the code from overwriting the previously filled info?

What is the best way to add custom questions and answers? Is it possible to have the code gather and log them so we can review and add them?

ob312 commented 2 years ago

For example: “are you comfortable working in a remote setting?”

ob312 commented 2 years ago

Or “ I certify that all of the information furnished on this application and during the application process is true, complete and correct to the best of my knowledge. I understand that any misrepresentation or omission of facts called for may result in refusal to hire or, if hired, may result in my dismissal at any time regardless of when the false answer or omissions are discovered” etc as yes/no box

NathanDuma commented 2 years ago

How often are you seeing those questions? My bot only covers the standard linkedin questions that the recruiter can choose from when making a job posting. I don't know if linkedin added more standard questions, but I could add them in the bot if that is the case. My bot does not cover custom questions, or any questions that are given through a third party recruiting site (like ziprecruiter).

My bot will try to answer those questions regardless, even though it may not be the most correct answer.

ob312 commented 2 years ago

Appreciate the response! Solved the problem.

Sorry for hounding here - but i guess i turned out to be a power user of the bot. Any ideas on the error below?

[22336:28544:1129/212913.571:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is Applying to the job.... C:\Users\xxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webelement.py:340: UserWarning: find_elementby commands are deprecated. Please use find_element() instead warnings.warn("find_elementby commands are deprecated. Please use find_element() instead")

Best,

ob312 commented 2 years ago

also these:

[34760:19312:1129/213856.123:ERROR:device_event_log_impl.cc(214)] [21:38:56.119] USB: usb_service_win.cc:261 Failed to get device driver name: Element not found. (0x490) [34760:19312:1129/213856.137:ERROR:device_event_log_impl.cc(214)] [21:38:56.133] USB: usb_service_win.cc:284 SetupDiEnumDeviceInterfaces: No more data is available. (0x103)

NathanDuma commented 2 years ago

Ignore those, they are no related to my bot. They are harmless.

ob312 commented 2 years ago

Thanks. one last thing; any chance to apply "job function" filter

Best

NathanDuma commented 2 years ago

No plans currently. It looks like they added the on-site/hybrid options as well. Its not hard to add to the config, add validation, and add the relevant URL information. Feel free to make a PR with it and I can merge.

ob312 commented 2 years ago

Well i am not qualifies enough but thanks - i will see if i can anyway :)