Слушайте и четете неограничено

Открийте безкрайна вселена от истории

  • Над 500,000 заглавия на 6 езика
  • Детски режим - безопасна зона за деца
  • Нови книги всяка седмица и ексклузивни заглавия
  • Офлайн режим
Пробвайте Storytel
BG - Details page - Device banner - 894x1036
Cover for Go Web Scraping Quick Start Guide: Implement the power of Go to scrape and crawl data from the web

Go Web Scraping Quick Start Guide: Implement the power of Go to scrape and crawl data from the web

Езици
Английски
Формат
Категория

Документални

Learn how some Go-specific language features help to simplify building web scrapers along with common pitfalls and best practices regarding web scraping.

Key Features

• Use Go libraries like Goquery and Colly to scrape the web

• Common pitfalls and best practices to effectively scrape and crawl

• Learn how to scrape using the Go concurrency model

Book Description

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

Who this book is for

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

© 2019 Packt Publishing (Е-книга): 9781789612943

Дата на излизане

Е-книга: 30 януари 2019 г.

Тагове

Другите харесаха също...

Избери своя абонамент:

  • Над 500,000 заглавия на 6 езика

  • Нови книги всяка седмица и ексклузивни заглавия

  • Детски режим - безопасна зона за деца

  • Офлайн режим

Най-популярен

Unlimited

Най-добрият избор. Открийте хиляди незабравими истории.

8.69 € | 16.99 лв. /месец
40% отстъпка
  • 1 профил

  • Неограничен достъп

  • Избирайте от хиляди заглавия

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвайте сега

Unlimited Годишен

Спестете 33%! Избирайте от хиляди заглавия.

69.53 € | 135.99 лв. /година
12 месеца на цената на 8
  • 1 профил

  • Неограничен достъп

  • Избирайте от хиляди заглавия

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвайте 7 дни безплатно

Family 2 профила

Споделете историите със семейството или приятелите си.

12.78 € | 24.99 лв. /30 дни
  • 2 профила

  • Неограничен достъп

  • Потопете се заедно в света на историите

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвайте 7 дни безплатно

Family 3 профила

Споделете историите със семейството или приятелите си.

14.99 € | 29.32 лв. /30 дни
  • 3 профила

  • Неограничен достъп

  • Потопете се заедно в света на историите

  • Слушайте и четете неограничено

  • Прекратете по всяко време

Пробвайте 7 дни безплатно