r/Python • u/Puzzleheaded-Host951 • Dec 03 '24
Showcase How I Automated My Tech Job Applications Using Python, Apify, and AI
Hi everyone!
I’ve found job hunting to be one of the most time-consuming and repetitive tasks. Manually searching for job listings, crafting cover letters, and sending applications felt like an endless loop of frustration. So, I decided to build a solution!
What My Project Does:
I developed a Python script that automates the entire job application process. Here's how it works:
Scrapes job listings using Apify’s Seek Job Scraper.
Uses Meta AI to generate personalized cover letters and email content.
Sends tailored applications with resumes attached via SMTP.
Logs every application to avoid duplicates.
Target Audience:
This tool is designed for anyone who wants to streamline their job search process. Whether you're a career changer, or an experienced developer looking to save time, this script will help you automate the most repetitive parts of applying to jobs.
Comparison:
While there are some job application automation tools available, most are either too complex or not customizable enough. My script stands out because it offers:
Smart filtering for roles in specific regions, salary ranges, and work types.
AI-powered personalized cover letter generation using Meta AI.
A simple, customizable workflow with easy integration to your job boards and email system.
Would love to hear your thoughts or any tips you have for automating job searches!
30
u/leftloose Dec 03 '24
You realize that the “endless loop of frustration” is directly because of shit like this right?
6
u/KingsmanVince pip install girlfriend Dec 03 '24
see a new linkedin job post
100 applicants after 30 minutes
People are automating so much these days
1
u/recursing_noether May 14 '25
Is this a joke? 100 applicants after 30 minutes is nothing. There are over 1B monthly active users on LinkedIn. That's not a clear indication of automated appliers. You would have a point if it were thousands of applicants after a minute.
1
u/johnnypwnage May 18 '25
It doesn't tell you how many people have applied after it hits 100. It only says 'over 100'
1
u/Lonely_Bad4488 Dec 05 '24
"You know how you've been bombarded with dogshit bot-generated applications? You should hire me because I'm good enough to make a bot myself!"
And not even that is a good selling point when dozens of guides for this slop exist online.
1
u/JamesHutchisonReal Dec 05 '24
"I built it even though a quick google search would reveal several already exist"
2
u/turbothy It works on my machine Dec 03 '24
The proof is in the pudding: did this land you a job yet?
1
u/Puzzleheaded-Host951 Dec 03 '24
Not sure, only just finished it today. I will let you know when I do!
1
1
1
u/d0tamon Dec 03 '24
The work is awesome. Could you write a demo “resume.txt” file for this and add it to the repo?
1
1
u/forcesensitivevulcan Dec 04 '24
Even though I hate this, there are loads of companies out there that you'd be a great hire for, OP.
Add a feature to automatically send speculative applications, to any company whose email ended up in your spam folder.
1
15
u/SweetOnionTea Dec 03 '24
Not bad for a junior dev.
I know you say you should customize the code to do your own search terms, but typically you'd have a configuration file to do stuff like that. Typically I would not expect to have to change code to change parameters.
I don't want to have to go into the code and manually modify variables like
Also you really aught to have that stuff as CLI parameters. Especially something like this underneath:
Also you should have an error message print if those don't exist.
Good to have an LLM customize to your English version, but hard coding it makes this less useful to a broader audience.
Also this line is not very customizable and I didn't see it mentioned:
Believe it or not, many people do want to work from an office that's not close to Sydney. And if it is WFH, does the location matter?
For your paths I would recommend Python's pathlib. A little neater than the raw opens and such.
I would also suggest looking into Python's logging system instead of using print statements. You could then do a rolling log of places that it's applied to or if things fail.
Your ApplicationPipeline constructor has a default path for applications csv as an argument, but you never use it.
If you intend on having this as a standalone class then it should be in it's own module. Otherwise you might as well hardcode the path like the other paths.
Another similar case is the resume paths. You have a function that takes in paths, but in your script you only call it once with the hardcoded paths:
Again, if you're going to hardcode those you might as well do it in the function body or at least make them default args.
Your docstrings are inconsistent. The ones you have are almost just the name of the function, and the ones you don't would be actually useful to have. For instance:
I know what this does, but it's not super intuitive. You try to see if the file exists and create it if not, but doing this like open().close() is weird. Pathlib has all this functionality done for you. Since you also open the file when you write out the strings there's no need to create the file right here. It will be created when you go to write.
The sleep at the end of your job sending loop doesn't need to be in both the code and the exception. Just put it outside of the whole block. Also why have a continue in the exception? When it's resolved it will just go to the top of the loop anyway. Was there an issue you were running into?
But then you have docstrings on functions that are almost just the function name like:
As an employer I would be kind of annoyed by cold emails with cover letters written by AI. It can have some telltale signs and if I were to read them I would just send it to spam.
Be serious, how much of this was written using AI? Some of it is nicely written, yet other parts baffle me with juniorisms. Not a lot of consistency in style.