Created
August 5, 2014 20:57
-
-
Save paolomainardi/98799286fddf7c469e6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'goutte.phar'; | |
use Goutte\Client; | |
$client = new Client(); | |
$crawler = $client->request('GET', 'http://dbunico20.beniculturali.it/DBUnicoManagerWeb/dbunicomanager/searchPlace?modulo=luoghi&tipologiaLuogo=1'); | |
$crawler->filter('mibac metainfo workflow')->each(function ($node) { | |
print $node->text(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment