Tsundoku
Tsundoku

Reputation: 9428

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.

Upvotes: 2

Views: 3897

Answers (2)

Zak
Zak

Reputation: 25237

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

Upvotes: 0

Oren Hizkiya
Oren Hizkiya

Reputation: 4434

I have already written an answer about that here for a question entitled "How to display content from one site on another using PHP?"

Upvotes: 1

Related Questions