Skip to content

Commit

Permalink
commit one
Browse files Browse the repository at this point in the history
  • Loading branch information
belal committed Nov 18, 2023
1 parent 2e41390 commit e2d3f7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file added .DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Page } from "playwright";

console.log("Hello");
type Config = {
/** URL to start the crawl */
url: string;
Expand All @@ -12,13 +12,13 @@ type Config = {
/** File name for the finished data */
outputFileName: string;
/** Optional cookie to be set. E.g. for Cookie Consent */
cookie?: {name: string; value: string}
cookie?: { name: string; value: string };
/** Optional function to run for each page found */
onVisitPage?: (options: {
page: Page;
pushData: (data: any) => Promise<void>;
}) => Promise<void>;
/** Optional timeout for waiting for a selector to appear */
/** Optional timeout for waiting for a selector to appear */
waitForSelectorTimeout?: number;
};

Expand Down

0 comments on commit e2d3f7f

Please sign in to comment.