getScraper()
getScraper(string $page, array $scrapers) : array
Method used to check a page against a supplied list of scrapers for a matching signature. If a match is found that scraper is returned.
Parameters
string | $page | the html page to check |
array | $scrapers | an array of scrapers to check against |
Returns
array —an associative array of scraper properties if a matching scraper signature found; otherwise, the empty array