Przeglądaj źródła

add cookie reference in README.md

Ashish 1 rok temu
rodzic
commit
ac9d70a2e5
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -68,6 +68,8 @@ type Config = {
   maxPagesToCrawl: number;
   /** File name for the finished data */
   outputFileName: string;
+  /** Optional cookie to be set. E.g. for Cookie Consent */
+  cookie?: {name: string; value: string}
   /** Optional function to run for each page found */
   onVisitPage?: (options: {
     page: Page;