Hi all, I'm still a beginner but I have a project I want to work on. I want to pull price data from a website and would like your advice on getting started.
This is my idea and a basic implementation of the process: 1) The input is coverted to the web link, i.e., if I type in "force of will" the output is http://sales.starcitygames.com//search.php?substring=Force+of+Will&auto=Y 2) Somehow, I ask perl to go to the link and get the prices and take an average or display individual prices. I see that using the filter (and a longer, more complex web link) I can get the web output displayed as a simple chart [1]. Looking at the html source, the price data is displayed as "<td class= "deckdbbody2">$1.99 </td>" . So maybe I can get a regexp to get all the different prices and list them. What should I be looking at to learn more on doing this? Is there a better way? [1] http://sales.starcitygames.com//spoiler/display.php?name=vampiric+spirit&namematch=EXACT&text=&oracle=1&textmatch=AND&flavor=&flavormatch=EXACT&action=Show+Results&s_all=All&format=&c_all=All&multicolor=&colormatch=OR&ccl=0&ccu=99&t_all=All&z[]=&critter[]=&crittermatch=OR&pwrop=%3D&pwr=&pwrcc=&tghop=%3D&tgh=-&tghcc=-&mincost=0.00&maxcost=9999.99&minavail=0&maxavail=9999&r_all=All&g_all=All&foil=nofoil&for=no&sort1=4&sort2=1&sort3=10&sort4=0&display=2&numpage=25