Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
MengLinMaker committed Jan 24, 2024
1 parent 1bd708a commit c8ef132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webscrape/script/scrapeProductInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ const igaProductInfo = async () => {
}

const woolworthsProductInfo = async () => {
let cookie = ""
let cookie = ''
for (let i = 0; i < 3; i++) {
try {
cookie = await getCookie('https://www.woolworths.com.au')
break
} catch { }
} catch {}
}
const report = await scrapeWoolworths(cookie)
saveJson(`${basePath}/woolworths.json`, report.get())
Expand Down

0 comments on commit c8ef132

Please sign in to comment.