Go to https://my.telegram.org and log in. click on API development tools . Insert name 'Telegram' in the field of app tile and short name. Copy "api_id" & "api_hash" after clicking create app
$ pkg install git --upgrade git
$ pkg install python --upgrade python
$ pip install Telethon --upgrade telethon
$ rm -rf telegram-scraper
$ git clone https://github.com/dulkith/telegram-scraper-bot
$ cd telegram-scraper-bot
$ python3 app.py