Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.
/ pricehunt-py Public archive

💰Check difference between prices of different products on Prisguiden.no

License

Notifications You must be signed in to change notification settings

timharek/pricehunt-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💰 Checking the difference between prices for different products on Prisguiden.no.

How to

Run the main.py script and select from the menu.

************MAIN MENU**************
Please enter a number
1: Add new product(s) to the list
2: Remove product(s) from the list
3: See details from the list
4: Run checker
5: Quit

Run in background

Use cron jobs, see crontab.guru to figure out the schedule expression for the checking interval, I recommend not more often than 30 minutes (this would be */30 * * * *). If you have never used cron before, check out the crontab command help.

*/30 * * * * /LOCATION/OF/PYTHON/python3 /LOCATION/OF/SCRIPT/pricehunt-py/checker.py

On Windows, cron` is not installed by default. Use the Windows Task Scheduler instead, or see this StackOverflow question for alternatives.

Notification

Features

  • Add product(s) as a object (via JSON syntax).
  • Check lowest price on specified product with correct URL.
  • Iterate through JSON-file to check on multiple products.
  • Unit tests for the different functions
  • Add product(s) to the JSON-file through the main menu
  • Remove product(s) to the JSON-file through the main menu
  • Display the products in the JSON-file through the main menu
  • See if you are eligible to use the open policy offered by some Norwegian stores.

About

💰Check difference between prices of different products on Prisguiden.no

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published