madingess / EasyApplyBot

Automate LinkedIn Easy Apply job applications and answer application-specific questions.
GNU General Public License v3.0
96 stars 110 forks source link

Not an issue: Adding more questions to contribute... #14

Closed voidbydefault closed 1 year ago

voidbydefault commented 1 year ago

Hi @madingess ,

This is not an issue, but I am trying to add additional questions on failed jobs based on notes saved by bot in "unprepared_questions" in config.yaml (to allow user to set inputs) and linkedineasyapply.py to use defined parameter.

I couldn't find contact info so posting here. My question is:

How to force bot to open one particular job application so I may test the added question?

e.g. https://www.linkedin.com/jobs/view/3420608236 (I want bot to open this link directly so I may test questions/answers added).

Thanks.

madingess commented 1 year ago

There isn't currently a nice way to do this. One should be created. This bot is in need of a debug/testing mode.

For now you can comment out linkedineasyapply.py lines 840-841 and add a browser.get() call to your desired URL. For example:

    def next_job_page(self, position, location, job_page):
        #self.browser.get("https://www.linkedin.com/jobs/search/" + self.base_search_url +
        #                 "&keywords=" + position + location + "&start=" + str(job_page*25))
        self.browser.get("https://www.linkedin.com/jobs/view/3420608236")
madingess commented 1 year ago

Note that the URL is expected to be a job search. So search for the job then copy the search page link.

For example, this may be the URL you want to use: https://www.linkedin.com/jobs/search/?currentJobId=3416714086&geoId=101336206&keywords=wayman%20accounting%20manager&location=Riyadh%2C%20Saudi%20Arabia&refresh=true