Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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

Table of Contents (10) Chapters Close

Scraping JavaScript pages with chrome-protocol

In Chapter 5, Web Scraping Navigation, we looked at navigating websites that require JavaScript using selenium and the WebDriver protocol. There is another protocol that has been developed recently that offers many more features you can take advantage of to drive a web browser. The Chrome DevTools Protocol was started for use on Chrome browsers, but it has been adopted by the W3C's Web Platform Incubator Community Group as a project. The major web browsers work together to develop a standard protocol called the DevTools Protocol to adopt for all of their browsers.

The DevTools Protocol allows external programs to connect to a web browser and send commands to run JavaScript, and collect information from the browser. Most importantly, the protocol allows the program to collect the HTML on demand. This way, if you were scraping...

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