Go Web Scraping Quick Start Guide [Repost]

Posted By: readerXXI

Go Web Scraping Quick Start Guide :
Implement the Power of Go to Scrape and Crawl Data From the Web

by Vincent Smith
English | 2019 | ISBN: 1789615704 | 125 Pages | PDF/ePUB | 5.94 MB

Web scraping is the process of extracting information from the web using various tools that perform scraping and crawling. Go is emerging as the language of choice for scraping using a variety of libraries. This book will quickly explain to you, how to scrape data data from various websites using Go libraries such as Colly and Goquery.

The book starts with an introduction to the use cases of building a web scraper and the main features of the Go programming language, along with setting up a Go environment. It then moves on to HTTP requests and responses and talks about how Go handles them. You will also learn about a number of basic web scraping etiquettes.

You will be taught how to navigate through a website, using a breadth-first and then a depth-first search, as well as find and follow links. You will get to know about the ways to track history in order to avoid loops and to protect your web scraper using proxies.

Finally the book will cover the Go concurrency model, and how to run scrapers in parallel, along with large-scale distributed web scraping.

What you will learn

Implement Cache-Control to avoid unnecessary network calls
Coordinate concurrent scrapers
Design a custom, larger-scale scraping system
Scrape basic HTML pages with Colly and JavaScript pages with chromedp
Discover how to search using the "strings" and "regexp" packages
Set up a Go development environment
Retrieve information from an HTML document
Protect your web scraper from being blocked by using proxies
Control web browsers to scrape JavaScript sites

Data scientists, and web developers with a basic knowledge of Golang wanting to collect web data and analyze them for effective reporting and visualization.


If you want to support my blog, then you can buy a premium account through any of my files (i.e. on the download page of my book). In this case, I get a percent of sale and can continue to delight you with new books!