linkfollower
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -35,3 +35,6 @@ const http = require('http'); | ||
path: location.path, | ||
port: location.port | ||
port: location.port, | ||
headers: { | ||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246' | ||
} | ||
}; | ||
@@ -38,0 +41,0 @@ let requestor = location.protocol.startsWith('https') ? https : http; |
{ | ||
"name": "linkfollower", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Node.js based command line utility that lets you follow redirects to see where http URLs end up. Useful for shortened URLs.", | ||
@@ -5,0 +5,0 @@ "main": "cli.js", |
# linkfollower | ||
[![Build Status](https://travis-ci.org/jksolbakken/linkfollower.svg?branch=master)](https://travis-ci.org/jksolbakken/linkfollower) | ||
Node.js based command line utility for finding out where a shortened (or any other) HTTP URL end up. | ||
Follows up to 10 redirects. | ||
Follows up to 10 redirects. Now also adds Ms Edge User-Agent header to requests since Facebook won't redirect | ||
unsupported browsers from fb.me addresses. | ||
@@ -6,0 +9,0 @@ ## Installation |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4138
6
84
25