All notable changes to Das Oertliche Scraper will be documented in this file.
-
House numbers with a separate letter (59 A), a spaced second number (6/ 7, 12 - 14, 7 – 9) or a list (1-3, 5) are now split off the street instead of staying part of it.
-
A listing without a street no longer reports its postal line as the street; it fills postal code and city instead.
-
A number listed as "Tel/Fax" now fills phone and fax. Before, both stayed empty.
-
Text split across nested tags keeps the spaces between its parts: a category such as Druck <b>in</b> Berlin reads "Druck in Berlin", no longer "DruckinBerlin". Runs of whitespace and non-breaking spaces inside a value collapse into a single space. E-mail addresses, which have no spaces, are joined without them.
-
A page that loads but holds no listing, such as an interstitial page, is no longer saved (and charged) as a record with only a name.
-
A budget too small for a single result now ends the run before its first request. Before, the run paged through every result without saving anything.
-
A run resumed after a migration counts the results it saved before toward its budget, so it no longer overruns the budget by that much.
-
A search page caught in a redirect loop, or whose response can't be decoded, is skipped like any other failed page instead of failing the run at once.
-
Runs no longer keep requesting search pages after the last result. Das Örtliche answers HTTP 410 for a search without (more) hits and HTTP 404 for a place it doesn't know, and the scraper now stops at either. Before, a search without results, a search in an unknown place, or a run that saved fewer listings than its target (for example because one detail page failed), kept paging until the platform timeout.
-
The scraper stops at the site's limit of 10,000 results. A run now fails after 3 search pages in a row fail, instead of carrying on indefinitely.
-
After a crash, the saved progress no longer resets to the first page, so a resurrected run doesn't push duplicates.
-
When the budget stops a run, the log now shows the estimated cost, what one more item would bring it to, and the budget. Before, it showed the budget where it claimed to show the cost of one more item.