Difference between revisions of "Web scraping"
From Publication Station
VKranendonk (talk | contribs) |
VKranendonk (talk | contribs) |
||
Line 1: | Line 1: | ||
Web scraping is used to scrape data such as text and images from websites. In this example we will scrape data from the Gutenberg website. | Web scraping is used to scrape data such as text and images from websites. In this example we will scrape data from the Gutenberg website. | ||
The purpose of web scraping is to transform web content into usable data for other programs or analysis. In this case we transform the following website | The purpose of web scraping is to transform web content into usable data for other programs or analysis. In this case we transform the following website into [https://en.wikipedia.org/wiki/Comma-separated_values CSV] data which can be opened in Microsoft Excel or Numbers. | ||
{{Columns}} | {{Columns}} | ||
{{Column}}[[File:Alice Wonderland Gutenberg.png]]{{ColumnEnd}} | {{Column}}[[File:Alice Wonderland Gutenberg.png]]{{ColumnEnd}} |
Revision as of 08:39, 2 September 2022
Web scraping is used to scrape data such as text and images from websites. In this example we will scrape data from the Gutenberg website.
The purpose of web scraping is to transform web content into usable data for other programs or analysis. In this case we transform the following website into CSV data which can be opened in Microsoft Excel or Numbers.
We will use a browser extension called WebScraper.io. You can install the extension for Firefox or for for Chrome.