BOOKS - Go Web Scraping Quick Start Guide: Implement the power of Go to scrape and cr...
Go Web Scraping Quick Start Guide: Implement the power of Go to scrape and crawl data from the web - Vincent Smith January 30, 2019 PDF  BOOKS
US $7.59

Views
938314
Go Web Scraping Quick Start Guide: Implement the power of Go to scrape and crawl data from the web
Author: Vincent Smith
Year: January 30, 2019
Format: PDF
File size: PDF 3.5 MB
Language: English

Learn how some Go-specific language features help to simplify building web scrapers along with common pitfalls and best practices regarding web scraping.Key FeaturesUse Go libraries like Goquery and Colly to scrape the webCommon pitfalls and best practices to effectively scrape and crawlLearn how to scrape using the Go concurrency modelBook DescriptionWeb 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 learnImplement Cache-Control to avoid unnecessary network callsCoordinate concurrent scrapersDesign a custom, larger-scale scraping systemScrape basic HTML pages with Colly and JavaScript pages with chromedpDiscover how to search using the and "strings and " and and "regexp and " packagesSet up a Go development environmentRetrieve information from an HTML documentProtect your web scraper from being blocked by using proxiesControl web browsers to scrape JavaScript sitesWho this book is forData scientists, and web developers with a basic knowledge of Golang wanting to collect web data and analyze them for effective reporting and visualization.Table of ContentsIntroducing Web Scraping and GoThe Request Response CycleWeb Scraping EtiquetteParsing HTMLWeb Scraping NavigationProtecting Your Web ScraperScraping with ConcurrencyScraping at 100x

You may also be interested in: