From 89222484afcdbb8e5e34c6fb4f0a0c69e5f2ed0b Mon Sep 17 00:00:00 2001 From: TCMO <92638966+TC-MO@users.noreply.github.com> Date: Tue, 13 Feb 2024 17:15:45 +0100 Subject: [PATCH] docs: fix code sample in academy (#854) --- .../web_scraping_for_beginners/data_extraction/project_setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/academy/webscraping/web_scraping_for_beginners/data_extraction/project_setup.md b/sources/academy/webscraping/web_scraping_for_beginners/data_extraction/project_setup.md index 888fc718d..357c7ed2c 100644 --- a/sources/academy/webscraping/web_scraping_for_beginners/data_extraction/project_setup.md +++ b/sources/academy/webscraping/web_scraping_for_beginners/data_extraction/project_setup.md @@ -56,7 +56,7 @@ npm install got-scraping cheerio With the libraries installed, create a new file in the project's folder called **main.js**. This is where we will put all our code. Before we start scraping, though, let's do a simple check that everything installed correctly. Add this piece of code inside **main.js**. ```js -import gotScraping from 'got-scraping'; +import { gotScraping } from 'got-scraping'; import * as cheerio from 'cheerio'; console.log('it works!');