redirect-chain - Getting a comfortable insight input URL redirects history

14 February 2020   0 comments   Python

You can accomplish the same with curl -L but I've had this as a little personal hack script in my ~/bin folder on my computer. Thought I'd make it a public tool. Also, from here, a lot more can be done to this script if you wanna help out with ideas.

▶ redirect-chain
0 301
1 > 301
2 >> 302
3 >>> 301
4 >>>> 301
5 >>>>> 301
6 >>>>>> 200

It basically gives you a pretty summary of redirects from a starting URL.

To install it on your system run:

pipx install redirect-chain

Happy Friday!


Your email will never ever be published

Related posts

How to resolve a git conflict in poetry.lock 07 February 2020
Build pyenv Python versions on macOS Catalina 10.15 19 February 2020
Related by Keyword:
How post JSON with curl to an Express app 15 April 2020
hashin 0.14.0 with --update-all and a bunch of other features 13 November 2018
Fancy linkifying of text with Bleach and domain checks (with Python) 10 October 2018
How to NOT start two servers on the same port 11 June 2018
Best practice with retries with requests 19 April 2017