Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Fix request.handledAt type; bump version

Ondra Urban28ad5b4c5e6c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 68e782f56..71b4569c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+0.7.4 / 2018-09-18
+==================
+- Bug fixes and documentation improvements.
+
0.7.1 / 2018-09-14
==================
- Upgraded Puppeteer to 1.8.0
diff --git a/package.json b/package.json
index ab72b872d..909ea0646 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apify",
- "version": "0.7.3",
+ "version": "0.7.4",
"description": "Web scraping and automation SDK",
"engines": {
"node": ">=8.0.0"
diff --git a/src/request.js b/src/request.js
index 51bd730de..8a712616c 100644
--- a/src/request.js
+++ b/src/request.js
@@ -68,7 +68,7 @@ export default class Request {
checkParamOrThrow(headers, 'headers', 'Object');
checkParamOrThrow(userData, 'userData', 'Object');
checkParamOrThrow(ignoreErrors, 'ignoreErrors', 'Boolean');
- checkParamOrThrow(handledAt, 'handledAt', 'Maybe String');
+ checkParamOrThrow(handledAt, 'handledAt', 'Maybe String | Date');
if (method === 'GET' && payload) throw new Error('Request with GET method cannot have a payload.');