You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ PHP-Spider Features
9
9
- supports two traversal algorithms: breadth-first and depth-first
10
10
- supports crawl depth limiting, queue size limiting and max downloads limiting
11
11
- supports adding custom URI discovery logic, based on XPath, CSS selectors, or plain old PHP
12
-
- comes with a useful set of URI filters, such as Domain limiting
12
+
- comes with a useful set of URI filters, such as robots.txt and Domain limiting
13
13
- supports custom URI filters, both prefetch (URI) and postfetch (Resource content)
14
14
- supports custom request handling logic
15
15
- supports Basic, Digest and NTLM HTTP authentication. See [example](example/example_basic_auth.php).
@@ -25,6 +25,10 @@ Installation
25
25
------------
26
26
The easiest way to install PHP-Spider is with [composer](https://getcomposer.org/). Find it on [Packagist](https://packagist.org/packages/vdb/php-spider).
27
27
28
+
```bash
29
+
$ composer require vdb/php-spider
30
+
```
31
+
28
32
Usage
29
33
-----
30
34
This is a very simple example. This code can be found in [example/example_simple.php](example/example_simple.php). For a more complete example with some logging, caching and filters, see [example/example_complex.php](example/example_complex.php). That file contains a more real-world example.
0 commit comments