Skip to content

feat(cli): Add Adaptive and Stagehand crawler templates#1888

Merged
vdusek merged 6 commits into
masterfrom
feat/http-and-adaptive-crawler-templates
May 11, 2026
Merged

feat(cli): Add Adaptive and Stagehand crawler templates#1888
vdusek merged 6 commits into
masterfrom
feat/http-and-adaptive-crawler-templates

Conversation

@vdusek

@vdusek vdusek commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Adds three crawler types to the cookiecutter project template and the scheduled E2E templates tests:

  • adaptive-beautifulsoup — uses AdaptivePlaywrightCrawler.with_beautifulsoup_static_parser().
  • adaptive-parsel — uses AdaptivePlaywrightCrawler.with_parsel_static_parser().
  • stagehand — uses StagehandCrawler. The template ships a placeholder API key; the E2E test only validates the build and skips the run.
@vdusek vdusek added t-tooling Issues with this label are in the ownership of the tooling team. adhoc Ad-hoc unplanned task added during the sprint. labels May 9, 2026
@vdusek vdusek self-assigned this May 9, 2026
@github-actions github-actions Bot added this to the 140th sprint - Tooling team milestone May 9, 2026
@github-actions github-actions Bot added the tested Temporary label used only programatically for some analytics. label May 9, 2026
@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.83%. Comparing base (da84db1) to head (9e706c4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1888      +/-   ##
==========================================
- Coverage   92.86%   92.83%   -0.03%     
==========================================
  Files         167      167              
  Lines       11699    11699              
==========================================
- Hits        10864    10861       -3     
- Misses        835      838       +3     
Flag Coverage Δ
unit 92.83% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
@vdusek vdusek marked this pull request as ready for review May 11, 2026 08:03
@vdusek vdusek requested a review from janbuchar May 11, 2026 08:03
@vdusek vdusek changed the title feat: Add HTTP and Adaptive crawler templates May 11, 2026
@vdusek vdusek changed the title feat(cli): Add HTTP and Adaptive crawler templates May 11, 2026
vdusek added 4 commits May 11, 2026 15:28
Add `http`, `adaptive-beautifulsoup`, and `adaptive-parsel` to the cookiecutter
project template (`crawlee create`), plus matching markers, parametrization in
the e2e templates tests, and entries in the scheduled-tests CI matrix so the
new types get the same coverage as existing ones.
@vdusek vdusek force-pushed the feat/http-and-adaptive-crawler-templates branch from 192c1b6 to 6986eef Compare May 11, 2026 13:47
@vdusek vdusek changed the title feat(cli): Add Adaptive crawler templates May 11, 2026
Comment thread src/crawlee/project_template/templates/main_stagehand.py Outdated
vdusek and others added 2 commits May 11, 2026 20:50
Why: Picks up the API key from CI/local env automatically, with a clear
error if it's missing — instead of leaving a placeholder string that
silently fails at runtime.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vdusek vdusek merged commit 39b2d24 into master May 11, 2026
32 checks passed
@vdusek vdusek deleted the feat/http-and-adaptive-crawler-templates branch May 11, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

3 participants