Closed junklight closed 9 years ago
that second url should be https://a0.awsstatic.com/pricing/1/ec2/previous-generation/linux-od.min.js
it's also not in the right format anymore - it's 'lazy' json - I found that demjson works to decode it
also the filter thing doesn't need to strip the '-1' off the region names
I'd upload a patch but my version is kind of quite forked from this one now and I've not got time this second to unknot the mess I've made
Thanks for the hints you've made, I was able to get this working and included in #20.
Cheers
Cool. Sorry I've made a mess of the fork and couldn't push back - I'll try to tidy up and just wrap your code. Closing the issue
With the new reservation pricing scheme they've updated it all again
haven't found the json files yet but here are the .js versions
https://a0.awsstatic.com/pricing/1/ec2/linux-od.min.js
https://a0.awsstatic.com/pricing/1/ec2/previous-generation/ri-v2/linux-unix-shared.min.js
you need to pull off the callback( ... ); bit - however still not parsing as son