How to Web Scrape Data in Google Sheets! (Import HTML)
In this video, I take you step by step on how to web scrape data in google sheets. I focus on following three main web scraping strategies in this video:
1. Scraping full data sets
2. Scraping individual metrics from data sets
3. Automating the web scraping process in google sheets
The HTML code I use to inspect tables is the following:
var i = 1; [].forEach.call(document.querySelectorAll('table'), function(x) { console.log(i++, x); });
If you are trying to inspect a list instead of a table, use the following HTML code:
var i = 1; [].forEach.call(document.querySelectorAll('ul,ol'), function(x) { console.log(i++, x); });
The google sheets codes used in this video are below:
=IMPORTHTML("https://en.wikipedia.org/wiki/List_of_National_Basketball_Association_single-game_scoring_leaders","Table","2")
=IMPORTHTML("https://finviz.com/quote.ashx?t=AAPL","Table","7")
=(index(IMPORTHTML("https://finviz.com/quote.ashx?t=AAPL","Table","7"),7,2))
=(index(IMPORTHTML("https://finviz.com/quote.ashx?t="&A3,"Table","7"),7,2))
I hope this tutorial was helpful! Let me know if you have any questions. Don't forget to like and subscribe to the channel!
Link to download my portfolio tracking spreadsheets: https://www.patreon.com/dividendology
The microphone I use: https://amzn.to/3ngqbVz
Видео How to Web Scrape Data in Google Sheets! (Import HTML) канала Dividendology
1. Scraping full data sets
2. Scraping individual metrics from data sets
3. Automating the web scraping process in google sheets
The HTML code I use to inspect tables is the following:
var i = 1; [].forEach.call(document.querySelectorAll('table'), function(x) { console.log(i++, x); });
If you are trying to inspect a list instead of a table, use the following HTML code:
var i = 1; [].forEach.call(document.querySelectorAll('ul,ol'), function(x) { console.log(i++, x); });
The google sheets codes used in this video are below:
=IMPORTHTML("https://en.wikipedia.org/wiki/List_of_National_Basketball_Association_single-game_scoring_leaders","Table","2")
=IMPORTHTML("https://finviz.com/quote.ashx?t=AAPL","Table","7")
=(index(IMPORTHTML("https://finviz.com/quote.ashx?t=AAPL","Table","7"),7,2))
=(index(IMPORTHTML("https://finviz.com/quote.ashx?t="&A3,"Table","7"),7,2))
I hope this tutorial was helpful! Let me know if you have any questions. Don't forget to like and subscribe to the channel!
Link to download my portfolio tracking spreadsheets: https://www.patreon.com/dividendology
The microphone I use: https://amzn.to/3ngqbVz
Видео How to Web Scrape Data in Google Sheets! (Import HTML) канала Dividendology
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How to Import Data from Webpages into Google Sheets](https://i.ytimg.com/vi/3wV9JtRRLdQ/default.jpg)
![Is Coca Cola Stock a Buy Now!? | Coca Cola (KO) Stock Analysis! |](https://i.ytimg.com/vi/07AURhXaFC0/default.jpg)
![Web Scrape in Google Sheets: IMPORTXML Function (Part 2)](https://i.ytimg.com/vi/4A12xqQPJXU/default.jpg)
![IMPORTHTML, IMPORTXML Functions - Google Sheets Tutorial to Extract from Web Pages to Spreadsheets 2](https://i.ytimg.com/vi/7B4tPczv-H8/default.jpg)
![Web Scraping Tutorial | Data Scraping from Websites to Excel | Web Scraper Chorme Extension](https://i.ytimg.com/vi/aClnnoQK9G0/default.jpg)
![Build A Fully Functioning STOCK WATCHLIST With Live Data In Google Sheets](https://i.ytimg.com/vi/cm5ZLtPFisc/default.jpg)
![Live Cryptocurrency Dashboard in Google Sheets - Real-Time Portfolio Tracker](https://i.ytimg.com/vi/M9dnEli-RoY/default.jpg)
![XPath query, IMPORTXML & Google Sheets - Advanced Tutorial](https://i.ytimg.com/vi/pwZ44kAeiOo/default.jpg)
![Web Scraping in Python using Beautiful Soup | Writing a Python program to Scrape IMDB website](https://i.ytimg.com/vi/LCVSmkyB4v8/default.jpg)
![Web Scrape in Google Sheets: IMPORTHTML, IMPORTDATA, & IMPORTFEED Functions (Part 1)](https://i.ytimg.com/vi/Q5yVoTqD06M/default.jpg)
![(Quick version) Pulling data from websites with IMPORTXML function | Google Sheets web scraping](https://i.ytimg.com/vi/4WQg9igXfds/default.jpg)
![How to web scrape data using no code with Octoparse](https://i.ytimg.com/vi/F6CEXNb54TI/default.jpg)
![Web Scraping With Google Sheets: No-Code Tutorial](https://i.ytimg.com/vi/L-uN1-ANFCQ/default.jpg)
![Import Live Web Data to Google Sheets With One Formula](https://i.ytimg.com/vi/QH2Dx5LgkJg/default.jpg)
![How to Extract Multiple Web Pages by Using Google Chorme Web Scraper Extension](https://i.ytimg.com/vi/Gz3fbdXnjmw/default.jpg)
![From Google Sheets to HTML table - importing and displaying data](https://i.ytimg.com/vi/5BvarQdBtFk/default.jpg)
![Web Scraping Google Search Results With Google Sheets: No-Code Tutorial](https://i.ytimg.com/vi/ObFKNDayudQ/default.jpg)
![How To Make A Dividend Income Tracker In Google Sheets](https://i.ytimg.com/vi/m1IvRbj5CzA/default.jpg)
![Pull data from websites in Google Sheets with IMPORTXML function | Web scraping (Stock prices)](https://i.ytimg.com/vi/U7XXxtobXcA/default.jpg)
![Pull cryptocurrency prices in Google Sheets (2 methods) | GOOGLEFINANCE and IMPORTXML crypto prices](https://i.ytimg.com/vi/hx3MFhfF-7A/default.jpg)