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

Improving the -B logic #32

Closed
ralyodio opened this issue Nov 28, 2021 · 1 comment
Closed

Improving the -B logic #32

ralyodio opened this issue Nov 28, 2021 · 1 comment

Comments

@ralyodio
Copy link

ralyodio commented Nov 28, 2021

Most sites will not have a <base...> element. Is there anyway to ascertain the domain it came from? I guess not huh if we're piping from curl output. Maybe use tee to pass domain and body?

@mgdm
Copy link
Owner

mgdm commented Jan 3, 2022

It's not really something I can think of a great solution for. If you're doing some kind of automation that downloads from a particular website using curl or similar, I'd hope you could extend it to be able to pass the --base option to htmlq.

@mgdm mgdm closed this as completed Jan 3, 2022
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

2 participants