Repository navigation
v2.0.1: No more re-scrapes on restart
A small bug-fix release for the oil scraper. Before, every restart fetched Hoyer prices again, even when today's prices were already stored. The "already scraped today?" check now takes the zip code into account, and it works for every provider.
Bug fixes
- Startup check now works for local providers: before,
HasScrapedTodayalways returnedfalsefor zip-code-based providers like Hoyer, so they were re-fetched on every restart. It now checks the provider's zip code. - Check no longer limited to one product type: before, it only looked for the
standardproduct type, which only HeizOel24 uses. It now matches any price for that provider, date and zip code. - Correct with shared databases: several instances with different
--zip-codevalues can share one database, and each one's check stays correct.
No breaking changes, config changes or schema changes.
Full commit list
- 32fb232 Check scraped-today status per zip code for local providers