Use sed
to grep the html file for the names and prices. Every deal name is enclosed in an h5
element with class product-title
, and every price is enclosed in a span
element with class starting-price
. Look through some examples on this answer [1], and that should get you going.
[1] Extract part of the code and parse HTML in bash
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…