Skip to content

dood-/Afisha-Crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$crawler = new Crawler;
$fetcher = new GuzzleFetcher;

$coliseum = new P24('https://api.kinobilety.net/api', $fetcher);
$coliseum->setMarket('698');

$kino = clone $coliseum;
$kino->setMarket('1');

$kinomax = new Kinomax('https://kinomax.ru', $fetcher);

$result = $crawler
    ->addParser($kino)
    ->addParser($coliseum)
    ->addParser($kinomax)
    ->fetchAsync();

$result = Crawler::mergeDuplicates(
    array_reduce($result, 'array_merge', []));

var_dump($result);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages