Monitor E-Commerce Webpages/Listings
Note: This tracker is very early in development!
For any additional information not stated here, look inside the repository's /docs/ directory.
Add listings to the database (in the listings table) using the command python -m listing_tracker add listing*.
- The first input asks to type or paste the URL to continue.
- The second input asks to confirm the added URL is correct. Any input that starts with a "y" in either (upper/lower) case is accepted as "yes." This includes but is not limited to "y," "Ye," "yeAh," or even "your mama."
- The script then fills in the rest of the columns:
- it computes the website value by rotating through a list of domains and
- it fetches the current datetime to the second in UTC and adapts it into ISO format.
- These values are then inserted into the database, after which the success notification is printed:
- the website is in the statement if a value was found during the rotation while
- the url is printed instead if no value was found.
*Make sure to replace the python prefix with python3 or py if applicable.