New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My attempt at automating the entire operation ;) #44
Comments
Hey - That looks cool. A little too much setting up for lay person but I dont see much of a workaround either. Unfortunately, it doesn't matter. Requests are now getting blocked |
Oh no. Please let me know if you find any workaround on it. |
Sure thing |
It seems to be working now right? |
I already did @botmon99 Let me know if you need any help setting it up |
hey that's super cool! |
@botmon99 all you need to do is edit this line: covid-vaccine-booking/src/utils.py Line 232 in 816f223
|
Although, if a third slot is not available, you might have to do exception handling for that. EDIT: You won't have to. It's already handled. But, it might take you on a loop. |
I used a randomizer to select a slot. This helped in a much better success rate |
@bombardier-gif I tried your way of automating the sms gig it just didn't work out for me. The first applet i made showed error with the message rate limited by remote server : 'extendclass link' . Then i made two other applets with new extendclass links and they just dont catch the recieved message. i followed you method step to step exactly. Help me out man. |
One way to get around it is. Create an account with extendclass site (its free) and then create a new link. Let me know if it helps |
Also @devansh7777 Could you share your extendsclass link? It could happen that your ISP could be rate limited by them if they used the same IP address. |
@bombardier-gif Hi I have the same issue as devansh7777, tried a new url after login also...... No luck |
@urajeya Can you please share your extendclass link? |
What is an improved success rate compared to the base version? |
Anecdotal: It usually instantly books a slot. And also on the next try it user another available random combination. |
@bombardier-gif Is the .exe file on your page with the random version? |
I'm closing this ticket to cleanup my issues list. Feel free to continue your discussion here though. |
@urajeya It is working for me. Did you try the premium version of IFTTT? |
@bombardier-gif Yeah, have taken the 7day Pro trial of IFTTT. I am not sure what's the issue here. Thanks for your help. |
@bombardier-gif https://json.extendsclass.com/bin/d2b36ae31841 this is the link i created, i also borrowed a premium account of ifttt from a friend. i will try to make an account on extendclass as you suggested. |
@urajeya and @devansh7777 Let me update my solution without using the extendsclass solution. It still works for me so its a bit hard to debug. |
I've been trying to cut out a lot of the options and make a personalized script.
|
Mine isn't probably working automatically because it asks me to manually enter OTP every 13-14 minutes. |
Give me couple of hours I shall try to address all the issues mentioned by asish sethia and axd. Overall i am trying to take away the extendsclassURL |
@bombardier-gif my new applet is running fine now, like it shows applet ran everytime there's an otp in my inbox. |
@axd123 install the dependencies. |
already done. on pip-ing them again, get prompted
|
Well its throwing ModuleNotFoundError. So clearly its not able to find the package. |
@pallupz |
I am. In fact I pretty much only use Windows |
@devansh7777 you are supposed to use the script using the python command, and not the exe |
You just have to install |
Even better would be offloading that activity to GitHub Actions, like I have using this yaml: https://github.com/pallupz/covid-vaccine-booking/blob/main/.github/workflows/main.yml |
@bombardier-gif check @pallupz last update he added the feature to search for vaccines from today. see if you can automate that script too. Also your method worked for me! but it scans from a day after so that might slow down the process. |
What version of python are you using, if you don't mind my asking? I actually used an older version of your script today (since I didn't want so many options to increase my human lag) and successfully booked my friends' vaccinations. Some coffee is coming your way. |
@axd123 Python 3.9 but really anything 3.6+ is fine |
Hi All, I just updated the logic to make it much simpler. I removed the extendsclass and replaced with something more reliable. And also now you dont need to update the change the code. |
does it scan for slots from the present day ? |
@bombardier-gif kindly add the feature so that it can scan from the present day like @pallupz did. It is impossible here in bagalore to get a slot. |
also all the codes works smooth, great minds you guys! |
@pallupz As people have reported that this code works, would you mind linking this up in your readme, so that more people could discover and benefit? |
@devansh7777 Did you use my code to book a slot? |
@bombardier-gif Great work with the IFFFT logic , now it works flawlessly. The .EXE makes it much easier to run on PC The slots fill up very fast, can the time interval between checks be reduced below 5 seconds? Also as I was using pallupz's .EXE file, I think picking a random slot instead of 1.1 would be more successful. Will try the .EXE from bombardier tomorrow. Also for both the .EXE once the slots are filled they don't reset to zero. Picture attached. |
Yes I just refreshed from the main repo |
@urajeya I allow even 1 sec refresh rate. |
@urajeya I updated the code. Please let me know if worked for you |
the update worked smoothly i even got booked but then a cancellation message came soon after that. But atleast the script works alright. But since 1 am there is a problem with the OTPs , i am not recieving OTP after the token expires. The initial otp step works fine more often than not, but from the very first token renewal the code fails. |
I have added this. |
adding a feature to resend otp after 180 sec might solve the issue tho @bombardier-gif |
Hi Devansh, |
Aah let me try. Also could you please create an issue in my repo? There are multiple threads in this issue and i dont want to miss important inputs |
My main painpoint was that
**Hence I automated the entire thing end-to-end ;) **
Please share your thoughts on it.
Code and steps to install are here. https://github.com/bombardier-gif/covid-vaccine-booking
Its hacky and dirty. Pull requests are welcome ;)
The text was updated successfully, but these errors were encountered: