-
Notifications
You must be signed in to change notification settings - Fork 239
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
Updating the BOT #19
base: main
Are you sure you want to change the base?
Updating the BOT #19
Conversation
Let it be simple.
Why not bat?
Hi, |
Hola, I made a few changes to the code, and now it works just fine, searching for dates and returning data. lines 71; Lines 120-121;
Lines 184;
|
Code has been debugged. A few changes have been made to make the code cleaner.
Debugged, Again!
Thanks to you, I updated the code, and it's working right now. I appreciate your contribution. I still kept the XPath, and I think it should work fine. You can check it again. Only download the visa.py, and after saving your own visa.py file, somewhere else, try mine. It should work well. |
Hi, I am thinking of a way of not being banned, at least not our own personal account. I think it is possible to register few extra accounts to search for the possible days without paying for the visa fee, and if there's an available day, we can login our personal account (or login in advance, it's an issue to keep the state of login) and then try to register that day. Do you think it's possible to integrate them? Thanks very much! |
Is it possible to have multiple accounts without payment? If it is possible, we can use their results as signals. The main account will wait (logged to the account) for the signal, then when we discover the desired time, we signal the main account, and it will reschedule itself. However, I think it's impossible to have multiple "free" accounts. I guess the companies have multiple paid accounts and will switch between them very fast. So, being banned is not something that bothers them. |
Yes, I think it's possible, as long as you have a reliable temp email website (that's another problem here, we need to find one that can pass the temp email detection). That's all you need to fake up a temp user account. Once you have that account, you can see the available appointment dates when you try to make the payment. Then we can use that result as the signal. I have tried it on Canada American visa system and it works. As long as it's in the AIS appointment system, I think it won't have much difference between countries. |
It is now working well, it is now a matter of thinking about not being banned, now retry time is more than 10 minutes, will cool down for 5 hours after 180 minutes, too short retry time will trigger the ban immediately after a few attempts. Given the 5-hour cooling-off period, I would assume that this would require at least 3 temporary accounts, taking turns to search for dates, and a retry time of no less than 10 minutes. |
Hi @JimCoala |
Thank you! I will try. |
@deng-cy20 |
Hi, |
@Soroosh-N Before anything, thank you for your work into updating this script. My girlfriend got denied the visa in June 1st and the bot managed to schedule the new one we issue on the 12th of the same month (next monday). Although, I'd like to check with you if the script can handle the second mandatory scheduling on the CASV (Centro de Assistência ao Solicitante de Visto, from Portuguese, Center of Assistant to the Visa Applicant). In certain Brazilian consulates, the applicant must go first through the CASV to collect biometry and take the visa picture and then head to the interview at the Embassy. I'm not sure how this screen appears to you in different embassies websites but this is how it looks like in the Brazilian site: The most interesting in this situation is that an user cannot finish the process of scheduling the interview in the embassy without before selecting a date in the CASV but the script managed to finish the scheduling! This is what the script managed to do: Also, notice that the script failed to finish the scheduling but it scheduled the date successfully anyway: Do you have any idea what could have happened for this situation to take place? |
Hi, |
No need to be sorry about, brother. I completely understand that this is a side project and you did amazing work on it. I'd like to also contribute to this pull request by updating the # Embassy List
Embassies = {
# [EMBASSY (COUNTRY CODE), FACILITY_ID (EMBASSY ID), "Continue in different languages"],
"en-am-yer": ["en-am", 122, "Continue"], # English - Armenia - YEREVAN
"es-co-bog": ["es-co", 25, "Continuar"], # Spanish - Colombia - Bogotá
"en-ca-cal": ["en-ca", 89, "Continue"], # English - Canada - Calgary
"en-ca-hal": ["en-ca", 90, "Continue"], # English - Canada - Halifax
"en-ca-mon": ["en-ca", 91, "Continue"], # English - Canada - Montreal
"en-ca-ott": ["en-ca", 92, "Continue"], # English - Canada - Ottawa
"en-ca-que": ["en-ca", 93, "Continue"], # English - Canada - Quebec City
"en-ca-tor": ["en-ca", 94, "Continue"], # English - Canada - Toronto
"en-ca-van": ["en-ca", 95, "Continue"], # English - Canada - Vancouver
"pt-br-sao": ["pt-br", 56, "Continuar"], # Portuguese - Brazil - São Paulo
"pt-br-bsb": ["pt-br", 54, "Continuar"], # Portuguese - Brazil - Brasília
"pt-br-poa": ["pt-br", 128, "Continuar"], # Portuguese - Brazil - Porto Alegre
"pt-br-rec": ["pt-br", 57, "Continuar"], # Portuguese - Brazil - Recife
"pt-br-rio": ["pt-br", 55, "Continuar"], # Portuguese - Brazil - Rio de Janeiro
} As for the problem, yes, the ASC is the same as the CASV in Brazil. I'm pretty sure an update to the The bot keeps finding awesome dates, sometimes he even finds next week dates. My workaround was to keep monitoring the bot during the run and I've configured past dates in the config file, so when the script tries to compare the date he found with the date I've configured he doesn't attempt to reschedule and I do the rescheduling manually through the browser. |
What is the correct time for not to be banned? I configured 10 to 20 minutes but in the 3 attempt I got the error "Break the loop after exception" |
were you finally able to schedule the CAS appointment? |
Hi @Soroosh-N, I would like to point out one thing when using the script for any Mac M1 users - the webdriver-manager package 3.7.0 is not working well in terms of getting the latest chrome web driver. If you have encountered similar issues as me, try using |
Hi, I would like to know how set up this feature. Multi-account support (switching between accounts in Resting times) |
Is there a way to send notification to telegram? Can someone modify the visa.py file with that code please? |
Hi @Soroosh-N, I am using your version of visa.py and this is my 3rd or 4th day in this. I am not a coding guy but I have to find a solution for my visa application. I have a trouble and I would be appreciated if you may guide me through. Last day it was the first time bot can find a day for me and said "got the time successfully" also send me notification as "break the loop after exception!". However I checked my account and appoinment was not rescheculed. Also when i am writing this it found another and said got time successfully but again it could not make it. How can i fix it, certainly it can find a date but can not reschedule automatically?? |
Hey guys. Does anyone know what is a good retry interval and work limit time to minimize getting banned? Also someone mentioned that you can still check for the date even after getting banned and you don't get punished. Is that true? |
Hi @Soroosh-N , I am using your script, thank you very much. I wonder whether the script support group reschedulement. It seems that it does not work correclty. Could you give some hints for me to solve it? |
@squall1207 check out my repo. I used the code from another more up to date visa rescheduler and I believe it works with groups too. With that said, I think the chances of finding more than one cancelled appointment at a certain time and date are pretty low. |
Hello @Soroosh-N , Thanks for your nice coding. |
I cannot name all of the processes I have done for the project, but I think these changes are helpful to the main project. Some of the apparent changes which I have made can be mentioned below: