-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: check mime type of urls before adding to request queue (#377)
* feat: check mime type of urls before adding to request queue * fix: add typesafety to crawlDomain * feat: check magic number of urls ending with .zip - use a fork of @crawlee/core which supports async transformRequestFunction * fix: include auth header in request * fix: let crawlee handle requests when mime check fails - catch errors when checking mime type, and return true * Fork crawlee-core to GovTechSG org * fix: type errors - extract function for parsing the --header option * Fix types errors * Bump package version --------- Co-authored-by: younglim <[email protected]>
- Loading branch information
Showing
11 changed files
with
937 additions
and
450 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.