I need a simple/open-source php script that will allow me to scrape a website like yp.com. Some of already written scripts do not work any more; and that is why I need this one to be open source, so that if yp.com changes their layout, then I can edit the script myself and it will still work. I prefer that I can scrape any website I want. But it can also be tailored to one specific website, but I must be able to change some parameters in order to use it to scape any website.