Search On Website using php variable - DOM Parsing -
i want search on website pragmatically using php search on website manually, enter query on search box press search , result came out.
suppose want search on website products names or model number stored in csv file.
if products number or model number match website data result page should displayed ..
i search on below question not able implement.
creating 'robot' fill form pages in
autofill form of website , send it
please let me know how can php ..
thanks
you want create “crawler” websites.
there things consider first:
you code never generic. each site has proper structure , can not assume thing (example: craigslist “encode” emails simple method)
you need select objective (emails ? items information ? links ?)
php far 1 of worst languages that.
i’ll suggest using c# , library called agilityhtmlpack. allows parse html pages xml documents (so can xpath expressions , more retrieve information).
it surely can done in php, think take @ least 10x time in php compared c#.
Comments
Post a Comment