-
Notifications
You must be signed in to change notification settings - Fork 35
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
MIQ Fix 18th Aug #128
MIQ Fix 18th Aug #128
Conversation
Thanks for putting this together. It worked for me last night (Europe time) and stopped on the same slots as the twitter bots. It didn't select the dates or beep (I tried deleting date.elem.click(); to test beep() but no luck there) though - does it do that for you? It also seemed to ignore my dates and stopped on anything available. It's possible I messed something up copying the code over. |
Thanks @bennyggg for test and reporting. |
Hi @monagjr trying your new code with testDates. I couldn't get it to work. I have no idea to coding, but kindly guide me if I'm doing something wrong. Thanks. // Set to true to turn on test mode if (await findAvailability(page)) { |
Thanks @ricoboirn for testing and reporting. |
Thanks. I've updated to your newest version and it works with testDates |
@monagjr Awesome, working as intended now. I'm on my 4th week now trying my luck securing for a friend. Thanks. |
Thanks @ricoboirn @bennyggg for confirmation |
@jvolker @alexDrinkwater @stilljake can you merge this with base code and create new release binaries? |
Hi guys, sorry to butt in, thanks much for doing this, this is a lot of help for non-programmers such as myself. If I may ask a favor? would you be so kind to update the MIQ-Booking-Assistance v0.10.3 exe file so that we can redownload and use it as well? Really need to book a slot for my daughter. Thanks a lot |
no beep again.. sad.. |
Sorry, I don't have write access! |
@Jefsmango and anyone else who needs ready-made pre-built version of the APP latest version (v0.10.4): https://github.com/monagjr/miq-nz-booking-tools/releases/latest |
|
||
const availableDateElements = [...document.querySelectorAll('[class$="_item"] :not(.no)')].filter(d => d.ariaLabel); | ||
|
||
const prefix = document.querySelector('.mo-6 > div').getAttribute('class') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's guaranteed that the class will be mo-6
I've seen other values here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sebjamesdev are you sure there are other values for the class than mo-6
? what other values have you found?
this is by the way a class for the calendar container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, my bad that was the logged out portal calendar.
Very much appreciated @monagjr , they must have found a way to mess with the script output, it works ok but after a few tries, it stops on the date but not selecting it and no more beeping. and even when you click on the date you cant fill up the recaptcha because it doesnt stop refreshing... |
@Jefsmango thanks for reporting this, I'll check it if something from code, or temp issue on your end. Can you please open a discussion topic under "bugs / issues" category here? https://github.com/monagjr/miq-nz-booking-tools/discussions/new |
Thanks, @monagjr. I've tried your changes and was able to get an alert. I've just merged this. New releases will follow in a few minutes. |
Welcome back @jvolker :) |
No description provided.