razor - How can I retrieve and parse just the html returned from an URL? -


i want able programmatically (without displaying in browser) send url such http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3daps&field-keywords=platypi&sprefix=platypi%2caps&rh=i%3aaps%2ck%3aplatypi" , in string (or more appropriate data type?) html results of page (the interesting part, anyway) parse , reformat selected parts of matched text , images (which link appropriate page). want razor/web pages, if makes difference.

iow, sort of screen-scraping question, "behind-the-screen" scraping.

is possible? how? 100 point post-answer-bonus awarded (or helpful) answer.

use webclient class (or .net 4.5's better httpclient class) download html, use html agilitypack parse it


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -