Hi guys, i need a script that can export the ires div from google. I have this: Code: $url = 'hxxp://google.com/search?q=site:warriorforum.com&hl=en&num=100'; $m= file_get_contents ($url); $specific_div = 'ires'; preg_match_all('#<ol\s*(?:id|class)\s*=\s*"'.preg_quote($specific_div).'">(.+?)</ol>#is', $m, $match); print implode("<br>",$match[1]); I used this a while ago with another script... I tried to make a scraper but it seems that the above code it's not working.
Help me with a script
13
Hi guys, i need a script that can export the ires div from google. I have this:
I used this a while ago with another script... I tried to make a scraper but it seems that the above code it's not working.
Help me please.
Code:
$url = 'hxxp://google.com/search?q=site:warriorforum.com&hl=en&num=100';
$m= file_get_contents ($url);
$specific_div = 'ires';
preg_match_all('#<ol\s*(?:id|class)\s*=\s*"'.preg_quote($specific_div).'">(.+?)</ol>#is', $m, $match);
print implode("<br>",$match[1]); Help me please.
- nmarley
- badwolf
- [1] reply
- banel
- Arbitbet
- banel
- [1] reply
- zapseo
- banel
- [1] reply
- Arbitbet
- [1] reply
Next Topics on Trending Feed
-
13