We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To get records with both null, 404 and 5xx HTTP status, an internal success flag in the results would allow us to filter by select(.success!=true).
select(.success!=true)
The text was updated successfully, but these errors were encountered:
This is still relevant. Here is a list of URLs which have "status": null, yet the link doesn't work. Links are grouped by their exception message:
"status": null
exception
Connection to ... failed http://byerly.org/bt.htm http://fashion.dior.com/dior.html http://www.allsands.com
Connection to ... failed
Crypto negotiation failed: Connection reset by peer http://www.libertyellisfoundation.org/immigration-museum http://www.rspca.org.uk
Crypto negotiation failed: Connection reset by peer
Crypto negotiation failed: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type http://www.kristeligt-dagblad.dk/liv-sjael/sociale-medier-goer-sorgen-nemmere http://www.echr.coe.int/echr http://www.portugalvirtual.pt
Crypto negotiation failed: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:1414D172:SSL routines:tls12_check_peer_sigalg:wrong signature type
Request must specify a valid HTTP URI http://www.cwc.lsu.edu. http://www.newscientist.com,
Request must specify a valid HTTP URI
Resolving the specified domain failed http://awalls.org http://curia.eu.int/da/index.htm http://europa.eu.int
Resolving the specified domain failed
Sorry, something went wrong.
I have found this solution for filtering on multiple status values: cat linkreport.json | jq -c '. | select([.status] | inside([301, 302, 400, 401, 403, 404, 406, 410, 416, 500, 502, 503, 504])) | {page: .referrer, link_text: .referrer_title, dead_link: .url}' | jq '.'
cat linkreport.json | jq -c '. | select([.status] | inside([301, 302, 400, 401, 403, 404, 406, 410, 416, 500, 502, 503, 504])) | {page: .referrer, link_text: .referrer_title, dead_link: .url}' | jq '.'
No branches or pull requests
To get records with both null, 404 and 5xx HTTP status, an internal success flag in the results would allow us to filter by
select(.success!=true)
.The text was updated successfully, but these errors were encountered: