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

Not able to use library #25

Open
shuklasaurabh1 opened this issue Mar 1, 2023 · 1 comment
Open

Not able to use library #25

shuklasaurabh1 opened this issue Mar 1, 2023 · 1 comment
Labels
question Further information is requested

Comments

@shuklasaurabh1
Copy link

I am trying to validate a url using htmlcheck page http://someurl.xyz but getting error like "Unable to reach interpreter to run validator: [WinError 2] The system cannot find the file specified"

And apart from these if I want to use HTML checker within python code, so is there any way to do this?

@sveetch sveetch added the question Further information is requested label Mar 2, 2023
@sveetch
Copy link
Owner

sveetch commented Mar 2, 2023

Unable to reach interpreter to run validator: [WinError 2] The system cannot find the file specified

It means the validator interface is not able to reach Java executable, it needs to be available on your system. However i never tested validator on Windows, i don't know how you could fix your system for this.

And apart from these if I want to use HTML checker within python code, so is there any way to do this?

You can programmatically use html_checker.validator.ValidatorInterface but you may need to look into cli.page or cli.site to see how you can use it.

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

No branches or pull requests

2 participants