as someone that often share job vacancy to my friends in discord, i got an idea to create a bot to help me.
basically, this bot just gets job vacancy from linkedin and integrates it to discord using webhook.
also, big thanks to our indian tech bro for this incredible project: https://github.com/VishwaGauravIn/linkedin-jobs-api/
- copy
.env.exampleas.env
cp .env.example .env- add your openrouter api key
go to the openroute website: https://openrouter.ai/
create an account if you don't have one, then:
api keys → new key
copy the API key and put it in your .env file.
example:
OPENROUTER_API_KEY=your_api_key_here- get ur discord webhook url.
go to ur discord server channel:
channel settings → integrations → create webhook
then just copy the webhook url.
- paste ur discord webhook url in the
.envexample:
DISCORD_WEBHOOK_URL_LIST=["your-discord-webhook-url-here"]- create virtual environment
python3 -m venv .venv- activate the venv
source .venv/bin/activate- install requirements
pip install -r requirements.txt- finally, run the script
python3 main.pyand u got the job updates in ur discord
u can change the params based on ur needs in main.py and crawler.py.
for example:
- job keywords
- locations
- remote job option
- internship / entry level filter
- etc.
this project is open for contribution.
one thing i think can be improved is making the params dynamically set from a config file, so the script can be cleaner and easier to customize.
feel free to open a pull request or contribute :)