-
Notifications
You must be signed in to change notification settings - Fork 36
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
Stopped working after MIQ website update #71
Comments
Have the same problem: stopped working as off 1430hrs NZtime Friday 23July. |
yeap they've changed the way the backend once again making it harder to scrape.. none of the tools are working currently as a result. |
Same problem here, it was working earlier today, had it running all day (based in the US). Hopefully it's an easy fix! |
I got this issue ...... any help ? Refused to apply inline style because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-3juv2Ft1FaY3xWYNGXExi9oTqA3RQ4gGhU='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. |
same help please.. :( |
I also have not been able to get back online line as well checked 9.0 it also does not scan the month request |
The MIQ website has been updated and all the flatpickr calendar elements have changed. You are correct @alistairgraham in thinking They have done the same thing to the calendar at https://allocation.miq.govt.nz/portal/ so none of the tools will work anymore. The MIQ date notifications twitter bot is broken too. I managed to check the page source when a date became available and it seems like they are also now obfuscating |
Looks like the calendar has Please only comment here if you have any new information. It really helps anyone working on improving/fixing this tool to not get a flood of messages. Thanks. |
Not sure if this helps, but it seems it cycles through a limited number of class tags, at least for me, the only variations I'm getting are:
|
i have a script that is running fine, would you need that mate? |
Sharing caring :) |
@MannerlyApple94 I've had a look at the CSS and there are 8 combinations. The eighth is |
@nz029 hopefully its still working. waiting for you to share. |
@nz029 Can you create a PR? |
Here is the method that parses the data-arrival-dates attribute.
I'm assuming the t = [58501527, 28741588, 61219430, 20294527, 57613046, 20913046, 23093500, 40765602] array will be unique to each session or refresh. |
i am a civil engineer alex.... know nothing about coding or the coding language. But necessity can teach you anything..... haha PS: I haven't created that that script, just using it. |
@nz029 Thanks nz029. Not sure which twitter handle you used because jvolker on twitter is a different person to on github. Either way I think I've got a fix that bypasses miq spoofing the css classes. |
I sent it to the correct handle mentioned on his profile. |
|
Thanks a lot, everyone, for fixing the script! Especially @alexDrinkwater for implementing the fix and creating a new release. I did receive the script on Twitter but have been off for 1.5 days. Please post anything related to this script here instead. Then everyone can work with it right away. |
miq-nz-booking-assistance-Windows-v0.10.1.exe has stopped refreshing the page. I think it might be because it's waiting for an element with the class
.flatpickr-input
to exist but it never exists now?miq-nz-booking-tools/MIQ-Booking-Assistance/miq-assistance.js
Line 113 in 5966bb7
The text was updated successfully, but these errors were encountered: