$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);
-
Notifications
You must be signed in to change notification settings - Fork 0
dood-/Afisha-Crawler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published