Telegram-LinkedIn based bot to download media from LinkedIn and receive them within Telegram
Soon...
You need mysql
installed and running on your machine.
python3 -m venv venv
source venv/bin/activate
pip install -r requirement.txt
cp settings.py.sample settings.py
- Edit settings.py
and fill up the required information ( you can find the help table of settings.py
below )
python main.py
Key | Description |
---|---|
# DATABASE | |
USER | MySQL database username |
PASS | MySQL database password |
HOST | MySQL database host |
USER | LinkedIn account username |
PASS | LinkedIn account password |
# TELEGRAM | ( How to get a Telegram API_ID and API_HASH? ) |
API_ID | Telegram api id |
API_HASH | Telegram api id |
TOKEN | Telegram bot token |
To add a new language to bot, edit texts.py and add your new language texts using its ISO formatted name like "en" or "fa".
Then edit keyboards.py and add new language buttons in SET_LANG and SET_LANG_CONVERSATION
buttons. also don't forget to edit their data
( set_lang::en
, set_lang_conv::en
) and replace en
with your language ISO.