This bot is make specifically for one purpose. That is to monitor visa appointment schedules in your screen and notify you in Telegram whenever there is change in available dates.
- You can get Telegram Bot Token from BotFather bot on telegram.
You've to get your city code from this site by inspecting network headers.
- First visit site
- Open Devleoper Tools and switch to network
- Search your city name
- Click the last item on network tab, Examine the Request URL
https://travel.state.gov/content/travel/resources/database/database.getVisaWaitTimes.html?cid=P50&aid=VisaWaitTimesHomePage
, Here theP50
is your city code for city 'Chisinau'.
You need to know what type of visa date to be notified with. The corresponding number is your visa type.
0
for Interview Required Visitors (B1/B2)1
for Interview Required Students/Exchange Visitors (F, M, J)2
for Interview Required Petition-Based Temporary Workers (H, L, O, P, Q)3
for Interview Required Crew and Transit (C, D, C1/D)4
for Interview Waiver Students/Exchange Visitors (F, M, J)5
for Interview Waiver Petition-Based Temporary Workers (H, L, O, P, Q)6
for Interview Waiver Visitors (B1/B2)7
for Interview Waiver Crew and Transit (C, D, C1/D)
- Go to GroupHelpBot or Rose Bot on telegram and type
/info @username
for public groups/users/channels- For private channels or users you have to add bot and users in one same group and send /info command (by mentioning for users)
Download Python From here :
While installing, tick install path / environment variables whatever is given
- Install required python snippets using commands below:
pip3 install -r requirements.txt
- Install all other missing modules using :
pip install missing_module_name
- Install Python, Python Snippets using above methods
- Download all files in this repo.
- Insert Bot Token, User ID in SAMPLE.env file and rename it to
.env
.
Type one of the following command on terminal to run bot:
py main.py
python main.py
python3 main.py
Distributed Under GPL by @PrabeshAryalNP on social or @PrabeshAryal on code sites.