Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit --recurse to a certain url #579

Open
razzeee opened this issue Nov 22, 2023 · 0 comments
Open

Limit --recurse to a certain url #579

razzeee opened this issue Nov 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@razzeee
Copy link

razzeee commented Nov 22, 2023

Hey,

I've been trying this, but I would like to handle the recurse slightly different

Trying to scan https://flathub.org/ we have multiple translations of the website, and it would be nice to be able to only scan the https://flathub.org/en part as links should be the same between translations.

The problem with doing this via --skip would be, that no external pages get scanned. I guess it might be possible to do, but the resulting regex doesn't spark joy.

Here's a non working try at that npx linkinator https://flathub.org/en/ --recurse --skip '^https://flathub.org/(?!en/).*$'

@JustinBeckwith JustinBeckwith added the enhancement New feature or request label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants