Closed (fixed)
Project:
simplehtmldom API
Version:
7.x-1.12
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2013 at 02:36 UTC
Updated:
16 Feb 2014 at 19:40 UTC
Jump to comment: Most recent
Comments
Comment #1
very_random_man commentedIf you have the choice, use the built-in libraries as they are compiled C and much faster. Here's a handy benchmark test and the Stack Overflow post that inspired it:
http://whitlock.ath.cx/FastCrawl/benchmark.php
http://stackoverflow.com/questions/3603511/html-scraping-and-css-queries
The only reason I can think of for using Simple HTML Dom is if you are on shared hosting and the XML php extension isn't enabled.
Comment #2
Konstantin Komelin commentedThe simplehtmldom library is the best for broken HTML.
Please consider implementing own module if you like built-in one.
Comment #3
Konstantin Komelin commented