开发者

Get specific content out of an URL read using CURL

开发者 https://www.devze.com 2023-01-02 13:35 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消