Get specific content out of an URL read using CURL
How开发者_高级运维 can I get specific content out of a URL fed into CURL? I'm unsure as to how to begin doing this, and haven't been able to Google for it properly since I don't know exactly what I'm looking for.
I have already written an answer about that here for a question entitled "How to display content from one site on another using PHP?"
you probably want to use regexes to do a search for the local portion of the page that you want to scrape for content look up
http://php.net/preg_match
精彩评论