Skip to content

Deutsch diplo.de PDF with results parsing. Using Python 3.8.0, requests, os, Pdfminer.six and BeautifulSoup4

License

Notifications You must be signed in to change notification settings

eliseipanov/parser

Repository files navigation

parser

Simple parser will grab for you Deutsch diplo.de PDF-file with results. Find your number and send you e-mail (or Viber\Telegram). Command line, cron script. Diplo.de It use Python 3.8.0 with Libraries: requests, os, datetime, Pdfminer.six and BeautifulSoup4


18.12.2019

Add Telegram Bot functional for reporting about Sucess or bad request.

Please, do not forget to change your ID of documents case on kiew.diplo.de and telegram Bot chat ID and token. I put Example thats will not work for you!


Still working with. 20.12.2019

You can use requirements.txt to install all libraries you need to use this script

Remember: we are working with python version >= 3.*

Example:

pip3 install -r requirements.txt

or if you use virtualenv with different versions of python:

python3 -m venv /path/to/new/virtual/environment

Activate your new environment:

source /path/to/new/virtual/environment/bin/Activate

Install requirements:

pip install -r requirements.txt

Then change variables inside both of the scripts:

---------python_parser.py------------------------

downloadPath - and make sure path exists myNumer - your case number you given by Deutsch embassy officer

---------telebot.py------------------------------

bot_token - your token you have from FatherBot bot_chatID - your own chat_id from response in URL https://api.telegram.org/botYOUR_TOKEN_HERE/getUpdates

About

Deutsch diplo.de PDF with results parsing. Using Python 3.8.0, requests, os, Pdfminer.six and BeautifulSoup4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages