Reputation: 2289
How do i get img src with phpQuery from html page? Added: I need to get this 'src' to use in parser module for drupal
Upvotes: 1
Views: 1945
Reputation: 2288
Here is a short example
$imgsrc = pq('div#foo img.pic')->attr('src');
Upvotes: 6