Code Monkey home page Code Monkey logo

shashankbafna / cowin-vaccination-book-slot Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 3.0 539 KB

CoWIN Vaccination slot booking telegram bot with auto captcha resolver & alerting feature.Now, never miss a slot.

License: GNU General Public License v3.0

Python 92.45% PowerShell 7.50% Roff 0.05%
alert automate-otps book captcha captcha-solving cowin cowin-portal cowin-vaccine india otp python retry slot slot-tracker telegram telegram-bot vaccination vaccination-slot vaccine

cowin-vaccination-book-slot's People

Contributors

shashankbafna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cowin-vaccination-book-slot's Issues

Error on startup : 'telegram_chatbot' object has no attribute 'selfid'

Hello, great app.
I tried it once but after that it is throwing me error if I am trying it on another number.
Can you please look into it?

`

Steps to subscribe
  1. Open telegram app
  2. Search for user (@CowinAutoBot) in the app
  3. Send this message within 5 minutes from now: Subscribe 174188
    Traceback (most recent call last):
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\cowinVaccinationSlotAutoBooking.py", line 6, in
    from utils import generate_token_OTP, check_and_book, beep, BENEFICIARIES_URL, WARNING_BEEP_DURATION,
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\utils.py", line 11, in
    bot = telegram_chatbot(r"config.cfg")
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\telegramBot.py", line 15, in init
    self.selfid = self.read_selfid_from_config_file()
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\telegramBot.py", line 79, in read_selfid_from_config_file
    self.subscribe_To_Telegram()
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\telegramBot.py", line 60, in subscribe_To_Telegram
    self.selfid=self.recieveFromBot(timeout=300,isFirst=True,subsCap=f"Subscribe {captchSub}")
    File "C:\Users\Yash\Downloads\cowin-vaccination-book-slot-main\src\telegramBot.py", line 137, in recieveFromBot
    from_ = self.selfid
    AttributeError: 'telegram_chatbot' object has no attribute 'selfid'`

Errror

D:\Cowin\cowin-vaccination-book-slot-main\src>python ./cowinVaccinationSlotAutoBooking.py
Traceback (most recent call last):
File "D:\Cowin\cowin-vaccination-book-slot-main\src\cowinVaccinationSlotAutoBooking.py", line 6, in
from utils import generate_token_OTP, check_and_book, beep, BENEFICIARIES_URL, WARNING_BEEP_DURATION,
File "D:\Cowin\cowin-vaccination-book-slot-main\src\utils.py", line 205
"""Search by Pincode? Or by State/District? \nEnter 1 for Pincode or 2 for State/District. (Default 2) : """)
^
SyntaxError: unmatched ')

otps

it just asks for OTPS afeter entering 35 Otps

how to use it on windows 10

I read your #readme for installing it on windows. I am unable to install the dependencies. I am a novice, so I would require your help. I am learning this so that I can help underprivileged people.

Error While entering the OTP.

'charmap' codec can't encode characters in position 7-8: character maps to

Due to this error, I was stuck in the loop of entering the OTP's.

Feature request

Can otp be also automated by any means. It would make this app just great!?
Also can we able to download appointment slip from telegram itself?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.