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

[Suggestion] Output to text file #94

Open
CHJ85 opened this issue May 6, 2022 · 3 comments
Open

[Suggestion] Output to text file #94

CHJ85 opened this issue May 6, 2022 · 3 comments

Comments

@CHJ85
Copy link

CHJ85 commented May 6, 2022

Hi there. It'd be great if your script had a flag (i.e -o) allowing me to output the results to a text file.
Textfile example:
404 - goooogle.com
200 - google.com
200 - amazon.com
404 - kgfnsekgj.ca

Is this doable, or would it require a lot of work?

@colearendt
Copy link

Agree - this would particularly be useful for internal links too, so that it can be verified that no omissions are introduced by changes over time (i.e. rearchitecting the site, etc.)

@nicolasleroy
Copy link

Bumping this one. I would only be interested, because of the long output the script currently produces.

@filiph
Copy link
Owner

filiph commented Aug 3, 2023

I use the usual unix piping for this:

linkcheck :8000 > output.txt

Does this work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants