Alex Rivera | Logout

HTML Scraping in Php

Asked 2008-08-29T07:32:15.217
39

I've been doing some HTML scraping in PHP using regular expressions. This works, but the result is finicky and fragile. Has anyone used any packages that provide a more robust solution? A config driven solution would be ideal, but I'm not picky.

Edit
Report

1 Answer

2

I've had very good with results with the Simple Html DOM Parser mentioned above as well. And then there's the  tidy Extension for PHP as well which works really well too.

answered 2008-08-29T08:08:50.417

Your Answer