7 Commits

Author SHA1 Message Date
Alex
243bc9b6f5 Add --from flag: travel distance from your location
Some checks are pending
Python application / build (push) Waiting to run
- Geocodes listing locations via Photon (Komoot) API - no rate limits
- Shows distance in km next to location in all output formats
- Uses geodesic distance (geopy) for accurate km calculation
- Caches geocoded locations to avoid repeated API calls
- Works with --top, --compare, --verdict, and default output
- Example: --from "Farum" shows 'København V (20 km)', 'Korsør (94 km)'
- Added geopy to requirements.txt
2026-08-28 16:04:11 +02:00
Copilot
33fdd4dff8 Fix GitHub Actions workflow to handle repositories without tests (#1)
* Initial plan

* Fix workflow to handle missing tests gracefully

Co-authored-by: alexpolo1 <14327609+alexpolo1@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexpolo1 <14327609+alexpolo1@users.noreply.github.com>
2026-08-28 15:09:02 +02:00
Alex
14828ddd0f Fix DBA title bug + add 'should I buy it used?' verdict engine
- Fix: title extraction now reads h2 text directly (h2 has no child <a>)
- Fix: link extraction uses a.sf-search-ad-link overlay (was falling through to carousel)
- Fix: skip skeleton/placeholder articles
- Add: --verdict flag with buy_used/buy_new/wait/decent_deal recommendation
- Add: verdict compares median used price vs lowest new price with savings %
- Add: verdict works standalone (no --compare needed)
- Rewrite: README + USAGE docs for the 'go-to' workflow
- Refactor: shared _parse_dba_article() for requests + selenium paths
2026-08-28 15:05:43 +02:00
alexpolo1
b982daf8f5 Add GitHub Actions workflow for Python application v1 2025-08-24 22:23:49 +02:00
Alex Polo
c1bfb5640d Add docs: README, USAGE, requirements and .gitignore 2025-08-24 22:22:21 +02:00
Alex Polo
b1e12245cd wwOInitial commit: dba pricerunner scraper 2025-08-24 22:20:57 +02:00
alexpolo1
5587ecb575 Initial commit 2025-08-24 22:20:02 +02:00