PHP Classes
elePHPant
Icontem

Google CSE PHP Scrapper: Extract search results using Google CSE

Recommend this page to a friend!
  Info   View files Documentation   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-03-12 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 96 This week: 1All time: 9,197 This week: 369Up
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.

  Performance   Level  
Name: Miraz Mac <contact>
Classes: 8 packages by
Country: Bangladesh Bangladesh
Age: 24
All time rank: 267836 in Bangladesh Bangladesh
Week rank: 73 Up2 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 2x

Details

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  
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

  Files folder image Files  /  src  
File Role Description
Files folder imageElement (4 files)
  Plain text file Scrapper.php Class Class source

  Files folder image Files  /  src  /  Element  
File Role Description
  Plain text file ElementBag.php Class Class source
  Plain text file ImageResultElement.php Class Class source
  Plain text file RichSnippetElement.php Class Class source
  Plain text file WebResultElement.php Class Class source

  Files folder image Files  /  usage  
File Role Description
  Accessible without login Plain text file image.php Example Example script
  Accessible without login Plain text file web.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:96
This week:1
All time:9,197
This week:369Up
User Comments (1)