theoomoregbee / US-visa-appointment-notifier

This is just a script I put together to check and notify me via email (MailGun) when there's an earlier date before my initial appointment date. It doesn't handle rescheduling.
MIT License
104 stars 57 forks source link

The API link doesn't work anymore #26

Closed mandeepjandoria closed 1 year ago

mandeepjandoria commented 1 year ago

I think the API link: https://ais.usvisa-info.com/en-ca/niv/schedule/{SCHEDULEID}/appointment/days/Toronto.json?appointments%5Bexpedite%5D=false, doesn't work anymore.

theoomoregbee commented 1 year ago

Yeah, I observed this while debugging #25 there's a workaround to get the data since the URL is now not available when the origin is not the ais site.

There's a workaround which I will find sometime to add.

liuyang12 commented 1 year ago

@theoomoregbee Can you briefly talk about the idea for the workaround? I need this to work in a rather urgent fashion. I checked the html file appointment.html and js file application-xxx.js with no idea of the solution.