Skip to content

A Golang Web Scraper that allows users to scrape search results from Google for a specific search term, country, and language. The results include the ranking, link, title, and description of each search result.

Notifications You must be signed in to change notification settings

whyrass/scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Golang Web Scraper

Golang Web Scraper is a tool that allows users to scrape search results from Google for a specific search term, country, and language. The results include the ranking, link, title, and description of each search result.

Project Architecture

Web scraper architecture

Features

  • Scrape search results from Google for a specific search term, country, and language
  • Results include the ranking, link, title, and description of each search result
  • Ability to specify the number of pages and number of results per page
  • Option to use a proxy for scraping
  • Built-in random user agent feature to prevent bans

Getting Started

  1. Clone the repository and navigate to the project directory
git clone https://github.com/yrs147/scraper.git 
cd scraper
  1. Build and run the project
go build ./scraper
  1. Input the search term, country code, and language code in the prompt
  2. Optionally specify the number of pages, number of results per page, and use a proxy
  3. The results will be printed in the terminal

Built With

  • Go - The programming language used
  • goquery - Package for parsing html and xml

About

A Golang Web Scraper that allows users to scrape search results from Google for a specific search term, country, and language. The results include the ranking, link, title, and description of each search result.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages