Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkirsche/urltrace
Traces and prints the redirect path of a URL
https://github.com/kkirsche/urltrace
Last synced: about 1 month ago
JSON representation
Traces and prints the redirect path of a URL
- Host: GitHub
- URL: https://github.com/kkirsche/urltrace
- Owner: kkirsche
- License: apache-2.0
- Created: 2016-05-26T17:42:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T21:15:34.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T02:47:20.603Z (6 months ago)
- Language: Go
- Size: 4.95 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# urltrace
Traces and prints the redirect path of a URL## Installation
### Source
```
go get -u github.com/kkirsche/urltrace
cd $GOPATH/src/github.com/kkirsche/urltrace
go install
```## Usage
`urltrace` is designed to allow a user to trace the redirect path of a URL and record that so that they can identify any URLs which are necessary to reach a given URL. The command may be used like so:```
Usage:
urltrace [flags]Flags:
-f, --full-url Display the entire URL, not the host portion.
-t, --timeout int Sets the timeout in seconds for a requested URL (default 10)
```## Usage Examples
```
urltrace http://www.google.com/mailurltrace --timeout 15 http://www.google.com/mail
urltrace -t 15 http://www.google.com/mail
urltrace --timeout 15 --full-url http://www.google.com/mail
urltrace -t 15 -f http://www.google.com/mail
```