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:

  1. you code never generic. each site has proper structure , can not assume thing (example: craigslist “encode” emails simple method)

  2. you need select objective (emails ? items information ? links ?)

  3. 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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -