5f3cbc8b8ce35406d30a396cf9798295e66e2829
Before running parse operation on search results page it checks now if there are any books to parse.
Before running parse operation on search results page it checks now if there are any books to parse.
Installation
Place this in the composer.json.
{
"repositories": [{
"type": "composer",
"url": "https://satis.techtube.pl"
}]
}
Then execute
composer require techtube/bookinfo:"1.0.4"
Usage
To get information about the book by the link:
<?php
include_once 'vendor/autoload.php';
$searcher = new \Techtube\Bookinfo\BookFinder();
$data = $searcher->byUrl('https://lubimyczytac.pl/ksiazka/5008411/oni');
print_r($data);
To search the book by phrase:
<?php
include_once 'vendor/autoload.php';
$searcher = new \Techtube\Bookinfo\BookFinder();
$data = $searcher->search('jack reacher');
print_r($data);
Description
Languages
PHP
100%