Now before you get too excited. This is an interim broken release. !fc and !sky do not function yet. You have !time and !wz only. !wz is also partially broken. This is because of the variables not exposed in javascript having data we need to complete our weather calls. Trying several sneaky ways to get them to expose the data. There is also no support for multiple locations, yet... There will be, this is just the early advance copy for people watching this thread right now. Expect more updates soon.
We very much appreciate your hard work on this script so we can keep using it. Nothing else comes close.
However that said, I get please-refine-your-search response from the bot every time I try a !WZ or the !w I prefer.
I also tried changing the url to https instead of http, but then instead of "refine your search", i got "failed to connect" which tells me the script is not setup for SSL. I installed tlstcl packages and tried with that but still nothing
I am not a coder by any means but i think the script has failsafes whereby if the main wunderground site cannot be read then the fallback is the classic site which is now redundant and redirects to the https main site and lastly the mobile site which actually is the site the script is returning info from it seems. Perhaps if someone could modify the code so only the mobile site is polled it would be more efficient.
lorddragon wrote:I also tried changing the url to https instead of http, but then instead of "refine your search", i got "failed to connect" which tells me the script is not setup for SSL. I installed tlstcl packages and tried with that but still nothing
Adding SSL settings under the "browser" we are using fixed it for me:
# the "browser" we are using
set ua "Lynx/2.8.5rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.7e"
::http::register https 443 [list ::tls::socket -request 1 -require 0 -ssl3 1 -tls1 1]
There is also the issue of no results or multiple results found. In the 1st case the bot doesn't respond at all, while in the 2nd instead of a list of possible hits it returns