add option to limit number of pages crawled?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by locating the existing --max-crawl-depth option and the crawler loop that applies its limits. Add a page-count option whose value is the smaller of the requested limit and the pages allowed by other options, then verify that crawling stops at that limit.
Written by the indexing model from the issue text.
Description
Hey this is a cool tool. Here's a feature idea assuming you're open to it.
Currently one can use:
--max-crawl-depth 2
to get, say, index page + 1st linked pages.
But maybe there are a lot of linked pages, and you just need a representative sample which is more than 1 page but not tons of pages.
So maybe another option like:
--max-crawled-pages N # or just --max-pages ?
and the crawler stops after it exhausts all pages allowed by other options, or N, whichever is smaller.
One might then use it like:
lighthouse-parade --max-crawl-depth 2 --max-crawled-pages 20 example.com
- Dominant language
- TypeScript
- Stars
- 373
- Forks
- 15
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 25
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudfour/lighthouse-parade
-
Dependency DashboardOpen
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
cloudfour/lighthouse-parade#166 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudfour/lighthouse-parade#151 ·
Maintainers usually reply within 1 day
-
Will the reports be affected if I'm doing something processor intensive while the report is running?Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
cloudfour/lighthouse-parade#147 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
cloudfour/lighthouse-parade#146 · 12 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
cloudfour/lighthouse-parade#145 ·
Maintainers usually reply within 1 day
All issues in cloudfour/lighthouse-parade
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
caprover/caprover-frontend#273 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ai-driven-dev/framework#1147 ·
Maintainers usually reply within 1 day
-
agent-ui bug p2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
cybersemics/em#6232 ·
Maintainers usually reply within 1 day