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(cli): support creating projects with names that start with a number (#3219)

Danish Arora3f37845899a8
diff --git a/packages/cli/src/commands/CreateProjectCommand.ts b/packages/cli/src/commands/CreateProjectCommand.ts
index cb1055246..20c25c301 100644
--- a/packages/cli/src/commands/CreateProjectCommand.ts
+++ b/packages/cli/src/commands/CreateProjectCommand.ts
@@ -120,6 +120,7 @@ export class CreateProjectCommand<T> implements CommandModule<T, CreateProjectAr
args.positional('project-name', {
describe: 'Name of the new project folder.',
+ type: 'string',
});
args.option('template', {
alias: 't',