2017 © Pedro Peláez
 

application pickurl

A simple PHP Web Url Pick.

image

dimgraycat/pickurl

A simple PHP Web Url Pick.

  • Saturday, December 3, 2016
  • by dimgraycat
  • Repository
  • 1 Watchers
  • 1 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

PHP-PickUrl, a simple PHP Web Scraper

License Packagist, (*1)

Requirements

PHP-PickUrl depends on PHP 5.5+ and Goutte 1+ and Guzzle 6+., (*2)

Installation

This library can be found on Packagist. The recommended way to install this is through composer., (*3)

Edit your composer.json and add:, (*4)

{
    "require": {
        "dimgraycat/pickurl": "*"
    }
}

And install dependencies:, (*5)

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install

Usage

Create a Pickurl\Spider Client instance:, (*6)

```php:sample.php <?php $spider = new PickUrl\Spider(); $spider->addHook('before', function($crawler, $crawl_url) { print "$crawl_url\n"; }) ->addHook('after', function($crawler, $crawl_url, $searched_urls) { print_r($searched_urls); }) ->crawl('http://foo.sample.com');, (*7)


set UserAgent: ```php $this->setUserAgent("MyCrawler 1.0");

set WaitTime:, (*8)

// default is 10sec. It can be shortened by setting.
$this->WaitTime(1);

License

PHP-PickUrl is licensed under the MIT license., (*9)

The Versions

03/12 2016

dev-master

9999999-dev http://github.com/dimgraycat/

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

01/03 2016

0.0.8

0.0.8.0 http://github.com/dimgraycat/

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

22/12 2015

0.0.7

0.0.7.0 http://github.com/dimgraycat/

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

09/12 2015

0.0.6

0.0.6.0 http://github.com/dimgraycat/

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

09/12 2015

dev-develop

dev-develop http://github.com/dimgraycat/

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

08/12 2015

0.0.4

0.0.4.0 http://github.com/dimgraycat/pickurl

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

08/12 2015

0.0.3

0.0.3.0 http://github.com/dimgraycat/pickurl

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

30/11 2015

0.0.2

0.0.2.0 http://github.com/dimgraycat/pickurl

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper

30/11 2015

0.0.1

0.0.1.0 http://github.com/dimgraycat/pickurl

A simple PHP Web Url Pick.

  Sources   Download

MIT

The Requires

 

by Avatar dimgraycat

scraper