Subject: | Screen Scrape format changed |
Date: | Thu, 18 May 2017 12:19:41 -0400 |
To: | bug-Weather-Underground [...] rt.cpan.org |
From: | Paul Roach <paul [...] rootdownbrewing.com> |
Hello,
It appears that on 3/28 Weather Underground changed their HTML format,
causing the Weather::Underground module to break.
I did some quick looking, and it seems to me like they fundamentally
changed the structure of the HTML to move away from data-on-a-single-line
format towards more of a block format.
<span class="wx-data" data-station="KPAPHOEN28"
data-variable="temperature">
<span class="wx-value">89.2</span>
<span class="wx-unit">°F</span>
</span>
Any chance someone is still maintaining the module? I might be able to
find the time to hack a solution, but I'm not sure the approach you guys
would want to take on dealing with a change like this.
Thanks!
-P