Skip to content

Commit 463457b

Browse files
committed
style: make linter happy
1 parent 1218ffa commit 463457b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import * as cheerio from 'cheerio';
22

3-
const url = "https://www.f1academy.com/Racing-Series/Teams";
3+
const url = 'https://www.f1academy.com/Racing-Series/Teams';
44
const response = await fetch(url);
55

66
if (response.ok) {
77
const html = await response.text();
88
const $ = cheerio.load(html);
9-
console.log($(".teams-driver-item").length);
9+
console.log($('.teams-driver-item').length);
1010
} else {
1111
throw new Error(`HTTP ${response.status}`);
1212
}

sources/academy/webscraping/scraping_basics_javascript/exercises/lego.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const url = "https://www.lego.com/en-us/themes/star-wars";
1+
const url = 'https://www.lego.com/en-us/themes/star-wars';
22
const response = await fetch(url);
33

44
if (response.ok) {

0 commit comments

Comments
 (0)