linux_wiki:amazon_product_page_checker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:amazon_product_page_checker [2014/12/08 20:43]
billdozor
linux_wiki:amazon_product_page_checker [2019/05/25 23:50] (current)
Line 1: Line 1:
 ====== Amazon Product Page Checker ====== ====== Amazon Product Page Checker ======
-Goal: Automatically check an Amazon product page for certain information. (Availability, price, etc) 
  
-Prerequisite: +**General Information**
-  You can send e-mail from the command line: [[ Send Email via Gmail SMTP Cmd Line ]]+
  
-==== Prep Work: Web Browser ====+Automatically check an Amazon product page for certain information. (Availability, price, etc) 
 + 
 +**Checklist** 
 +  * Distro(s): Any 
 +  * Other: You can send e-mail from the command line: [[ Send Email via Gmail SMTP Cmd Line ]] 
 + 
 +---- 
 + 
 +===== Prep Work: Web Browser =====
  
 1) In a web browser, visit the Amazon.com product page you want to auto check and save the URL. 1) In a web browser, visit the Amazon.com product page you want to auto check and save the URL.
Line 24: Line 30:
 ---- ----
  
-==== Testing Curl and Grep ====+===== Testing Curl and Grep =====
  
 1) Using the collected product page URL and user agent string, test a curl against the page. 1) Using the collected product page URL and user agent string, test a curl against the page.
Line 50: Line 56:
 ---- ----
  
-==== The Script ====+===== The Script =====
  
 Putting the above curl statement into a working script looks like this: Putting the above curl statement into a working script looks like this:
Line 77: Line 83:
 ---- ----
  
-==== Auto Check it with Cron ====+===== Auto Check it with Cron =====
 Don't forget create the cron entry to have the script execute every 15 mins or so. Don't forget create the cron entry to have the script execute every 15 mins or so.
  
  • linux_wiki/amazon_product_page_checker.1418089427.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)