I need to grab some websites data (content) 
those websites provide listings I need to grab those and filter them according to the content

any software can do that? php script? 
if not, where can I start to program this functionality?