https://github.com/linuxuser255/linkedin_apply
Python bot to apply LinkedIn Easy Apply jobs based on your preferences.
https://github.com/linuxuser255/linkedin_apply
bots intellij linkedin neovim pycharm python python-script python3 pythonbots
Last synced: 5 months ago
JSON representation
Python bot to apply LinkedIn Easy Apply jobs based on your preferences.
- Host: GitHub
- URL: https://github.com/linuxuser255/linkedin_apply
- Owner: LinuxUser255
- License: gpl-3.0
- Created: 2024-09-18T03:12:43.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-01-30T15:28:00.000Z (5 months ago)
- Last Synced: 2025-01-30T16:33:42.671Z (5 months ago)
- Topics: bots, intellij, linkedin, neovim, pycharm, python, python-script, python3, pythonbots
- Language: Python
- Homepage:
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LinkedIn_Apply
**Built with**

**[Selenium docs](https://selenium-python.readthedocs.io/)**
## A Python bot that will apply to the, "Easy Apply", jobs based on your preferences.
- I may be adding Ollama at some point in the future.
- This repo/codebase is a work in progress, & is intended to be an updated version of [my other linkedin bot](https://github.com/LinuxUser255/linkedin-application-bot)
# To test this bot run the script: [test_apply_working_full.py](https://github.com/LinuxUser255/LinkedIn_Apply/blob/main/Test_Scripts/test_apply_working_full.py)
# The latest unit test is also in the`/Test_Scripts/` directory.
## You will need to download the [Chrome Driver](https://googlechromelabs.github.io/chrome-for-testing/#stable) and palce it in the directory alongside the python files
https://googlechromelabs.github.io/chrome-for-testing/#stable
# TO DO - Most recent: See [TODO.md](https://github.com/LinuxUser255/LinkedIn_Apply/blob/main/TODO.md)
**Additional items. Some completed.**
**Browser handling issues**
- [x] Eliminate launching a new browser/login session with each iteration.
- [x] Each URL is being visited in the same window
- [x] Conduct all searches and applications within one browser session.
**Primary purpose of the Bot: Completion of the Easy apply section**
- [ ] Currently troubleshooting XPath click using:
## [test_apply_working_full.py](https://github.com/LinuxUser255/LinkedIn_Apply/blob/main/Test_Scripts/test_apply_working_full.py) script
- [ ] Once the above is working, itegrate it's functionality into `linkedin.py`
- [x] Resolve the click on "Easy apply" button: Works in `click_button_test.py`
- [x] Implement separation of concerns for finding and clicking elements
- [x] Create module for testing sign in
- [x] Create a module to test login and apply- [x] Create functionality to handle the submit apply pop-up.
- [x] clicking Next (submit application) and
- [x] click review
- [ ] Modify test_apply.py to be re-run without repeating the login everytime- [ ] Integrate the four methods used to click the Easy Apply button into `linkedin.py`
- [ ] _Do this using a nested function??_- [x] Tie it all together in `main.py`
**After all of the Easy apply functionality is complete.**
- [ ] Make bot able to apply on external links
- [ ] Make it able to register & logon to external job applications
**Misc..**
- [x] Follow PEP 8 Syle Guide coding conventions:
- [x] Change all Variable and Function names to lower case
- [x] Avoid account login issues
- [x] Headless browser experience (Only the login and home page is shown. No link visitin.)
- [x] You can change this in the `config.py` file. Where it says `headless = True`
**Other**
- [x] Fix specified HTML element discovery issues
- [x] ~~Chromium not woking properly with Linux~~
- [ ] More robustness of the bot for different fields
- [ ] Add support to other major job seeking websites (Glassdoor, AngelCo, Greenhouse,
- [ ] Possibly need? Evade Anti-Bot detection
- [ ] If necessary, Maybe retrieve and use session cookies from the browser?
## Installation and Use
### Clone the repository & Install the requirments**
```shell
git clone https://github.com/LinuxUser255/LinkedIn_Apply.gitcd LinkedIn_Apply
```## Set up scripts: virtual env and pip3
### To set up a virtual enviroment
```shell
chmod +x virtenv_activate.sh
./virtenv_activate.sh
```### Automate pip3 updates and install requirements
```shell
chmod +x update_and_install.sh
./update_and_install.sh
````
## To run the bot as of now, use: [test_apply_working_full.py](https://github.com/LinuxUser255/LinkedIn_Apply/blob/main/Test_Scripts/test_apply_working_full.py)
When complete use:
`main.py`
**OR**
`linkedin.py`.