Skip to content

Commit

Permalink
Merge af16f76 into 2fa301e
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbos committed Mar 25, 2017
2 parents 2fa301e + af16f76 commit 09507ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/example_complex.php
Expand Up @@ -18,7 +18,7 @@
require_once('example_complex_bootstrap.php');

// The URI we want to start crawling with
$seed = 'http://www.dmoz.org/Computers/Internet/';
$seed = 'http://dmoztools.net/Computers/Internet/';

// We want to allow all subdomains of dmoz.org
$allowSubDomains = true;
Expand Down
2 changes: 1 addition & 1 deletion example/example_simple.php
Expand Up @@ -9,7 +9,7 @@
require_once __DIR__ . '/../vendor/autoload.php';

// Create Spider
$spider = new Spider('http://www.dmoz.org');
$spider = new Spider('http://dmoztools.net');

// Add a URI discoverer. Without it, the spider does nothing. In this case, we want <a> tags from a certain <div>
$spider->getDiscovererSet()->set(new XPathExpressionDiscoverer("//div[@id='catalogs']//a"));
Expand Down

0 comments on commit 09507ca

Please sign in to comment.