Monitor E-Commerce Webpages/Listings
Note: This tracker is very early in development!
Add listings to the database (in the inserted_webpages
table) using the python listing_tracker -a webpage
* command.
- 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 is accepted as "yes" as long as it starts with a "y" in either case. This includes but is not limited to "y," "Ye," "yeAh," or even "your mama."
- The script then fills in the rest of the columns (see technical details for more information):
- 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 instead if no value was found.
*Do not forget to replace python
with python3
or py
if applicable.