Skip to content

Repository files navigation

info-loker-bot

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/

image

how to use?

  1. copy .env.example as .env
cp .env.example .env
  1. 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
  1. get ur discord webhook url.

go to ur discord server channel: channel settings → integrations → create webhook

then just copy the webhook url.

  1. paste ur discord webhook url in the .env example:
DISCORD_WEBHOOK_URL_LIST=["your-discord-webhook-url-here"]
  1. create virtual environment
python3 -m venv .venv
  1. activate the venv
source .venv/bin/activate
  1. install requirements
pip install -r requirements.txt
  1. finally, run the script
python3 main.py

and u got the job updates in ur discord

customize

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.

contribution

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 :)

About

a discord bot to notify fresh IT related job postings from linkedin

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages