Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Go Web Scraping Quick Start Guide

You're reading from   Go Web Scraping Quick Start Guide Implement the power of Go to scrape and crawl data from the web

Arrow left icon
Product type Paperback
Published in Jan 2019
Publisher Packt
ISBN-13 9781789615708
Length 132 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vincent Smith Vincent Smith
Author Profile Icon Vincent Smith
Vincent Smith
Arrow right icon
View More author details
Toc

Web Scraping Navigation

So far, this book has focused on retrieving information for a single web page. Although this is the basis of web scraping, it does not cover the majority of use cases. More than likely, you will need to visit multiple web pages, or websites, in order to collect all of the information to fulfill your needs. This may entail visiting many known websites directly via a list or URLs, or following links discovered in some pages to more unknown places. There are many different ways of navigating your scraper through the web.

In this chapter, we will cover the following topics:

  • How to follow links
  • How to submit forms with POST requests
  • How to track your history to avoid loops
  • The difference between breadth-first and depth-first crawling
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime