Skip to content

Commit

Permalink
feat: ignore SSL and HTTPS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Patai5 committed Aug 12, 2024
1 parent 60077dd commit 6a897b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/src/crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export const createCrawler = async (config: Config) => {
const crawler = new PlaywrightCrawler({
launchContext: {
launchOptions: {
// TODO: Just headless
headless: true,
/** We intentionally ignore these errors, because some broken websites would otherwise not be scraped */
args: ['--ignore-certificate-errors'],
},
},
/**
Expand Down

0 comments on commit 6a897b6

Please sign in to comment.