Fix !weather returning HTML instead of weather data
wttr.in now serves a full HTML page when it detects a browser-like User-Agent string. Replaced the fake Firefox UA in run_curl with "zynk/VERSION" so weather, forecast, and stock requests all return the expected format again.
This commit is contained in:
parent
5d308750e1
commit
61a6a95801
2 changed files with 7 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2026.07.19 – Fix !weather returning HTML.
|
||||
|
||||
- Fixed `!weather` command returning `<!DOCTYPE html>` instead of weather data: wttr.in now returns HTML when it detects a browser User-Agent, so replaced the fake Firefox UA string with `zynk/VERSION`.
|
||||
- Version bumped to 0.34.1.
|
||||
|
||||
2026.07.19 – Uptime command, remove !hello.
|
||||
|
||||
- Added `!uptime` command: displays bot uptime in a human-readable format (days/hours/minutes/seconds).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue