https://github.com/kkirsche/urltrace
Traces and prints the redirect path of a URL
https://github.com/kkirsche/urltrace
Last synced: about 1 year 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T21:15:34.000Z (about 7 years ago)
- Last Synced: 2025-04-15T00:18:14.986Z (about 1 year 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/mail
urltrace --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
```