Skip to content
Snippets Groups Projects
Commit ab6f03ce authored by timothycarambat's avatar timothycarambat
Browse files

linting

parent 41522cdf
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ async function scrapeGenericUrl(link, textOnly = false) {
const url = new URL(link);
const decodedPathname = decodeURIComponent(url.pathname);
const filename = `${url.hostname}${decodedPathname.replace(/\//g, '_')}`;
const filename = `${url.hostname}${decodedPathname.replace(/\//g, "_")}`;
const data = {
id: v4(),
......
......@@ -109,7 +109,7 @@ async function bulkScrapePages(links, outFolderPath) {
const url = new URL(link);
const decodedPathname = decodeURIComponent(url.pathname);
const filename = `${url.hostname}${decodedPathname.replace(/\//g, '_')}`;
const filename = `${url.hostname}${decodedPathname.replace(/\//g, "_")}`;
const data = {
id: v4(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment