Merge lp:~stefanor/ibid/weather-scraping-370280 into lp:~ibid-core/ibid/old-trunk-pack-0.92
Proposed by
Stefano Rivera
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jonathan Hitchcock | ||||
Approved revision: | 646 | ||||
Merged at revision: | 652 | ||||
Proposed branch: | lp:~stefanor/ibid/weather-scraping-370280 | ||||
Merge into: | lp:~ibid-core/ibid/old-trunk-pack-0.92 | ||||
Diff against target: | None lines | ||||
To merge this branch: | bzr merge lp:~stefanor/ibid/weather-scraping-370280 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Hitchcock | Approve | ||
Michael Gorven | Approve | ||
Review via email: mp+6914@code.launchpad.net |
To post a comment you must log in.
The API approach was rejected so here's a simple fix of the bug. I tried using etree first (xpath is nicer than BS for this kind of kak), but etree didn't handle things like
<span class=" nowrap" ><b>28< /b>° C</span>
I could get at the 28, but the °C was lost.