PHP Classes

Google CSE PHP Scrapper: Extract search results using Google CSE

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 144 All time: 9,163 This week: 455Up
Version License PHP version Categories
googlecsescrapper 1.0.0MIT/X Consortium ...5PHP 5, Searching, Web services
Description 

Author

This package can extract search results using Google CSE.

It can send HTTP requests to the Google CSE API Web server and extracts the results for a given search query.

The package can return results for Web pages or images with support for spelling correction and returning rich snippets.

Picture of Miraz Mac
  Performance   Level  
Innovation award
Innovation award
Nominee: 6x

 

Documentation

GoogleCSEScrapper

Scrape Google Custom Search results with spelling correction and rich snippets

GoogleCSEScrapper is a scrapper for scrapping Google Custom Search results. Beside scrapping the search results it can even go deep and grab the spelling correction and rich snippet data. Currently it supports fetching Web and Image results.

Although I wouldn't recommend using it on Production but it can do it's job pretty well on medium/heavy requests unless you get your server IP banned by Google. But hey, Google's been a real jerk lately with their YouTube Data API v3. It's the least we can do, so lets fack on Google.

Install via Composer

composer require mirazmac/google-cse-scrapper

Usage

For usage example please check the usage folder.

License

GoogleCSEScrapper is licensed under, WTFPL - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

alt text


  Files folder image Files (10)  
File Role Description
Files folder imagesrc (1 file, 1 directory)
Files folder imageusage (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:144
This week:0
All time:9,163
This week:455Up
User Comments (1)