Skip to content

Commit

Permalink
feat: add constants file
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus64 committed Dec 22, 2023
1 parent cb8b6b5 commit 7a0405d
Show file tree
Hide file tree
Showing 10 changed files with 126 additions and 164 deletions.
2 changes: 1 addition & 1 deletion scrapy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { books } from "$/scraping/index.ts";
import { books } from "$/constants.ts";
import * as cherio from "https://esm.sh/cheerio";
import { log, loggers } from "$/scraping/logger.ts";

Expand Down
2 changes: 1 addition & 1 deletion script.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { connect } from "./src/database/index.ts";
import { books } from "$/scraping/index.ts";
import { books } from "$/constants.ts";
import { DataBook } from "$/scraping/scrape.ts";
import { Client } from "https://deno.land/x/[email protected]/mod.ts";
import "https://deno.land/x/[email protected]/load.ts";
Expand Down
Loading

0 comments on commit 7a0405d

Please sign in to comment.