Skip to content

v2.0.1: No more re-scrapes on restart

Choose a tag to compare

@github-actions github-actions released this 11 Oct 13:58
· 11 commits to main since this release
v2.0.1
f5179de

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, HasScrapedToday always returned false for 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 standard product 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-code values 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