deanishe / alfred-resolve-url

Alfred workflow to resolve HTTP redirects and return the canonical URL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resolve HTTP Redirects in Alfred

Follows any HTTP redirects and returns the canonical URL. Also displays information about the primary host (hostname, IP address(es), aliases).

You can paste a URL into Alfred's query box or grab a URL directly from the clipboard. If the URL contains no scheme (http://, https://, etc.), http:// will be assumed.

Usage

  • resolve URL — Find and display the canonical URL after all redirects.
    • — Open the new URL in your default browser
    • ⌘+↩ — Copy the new URL to the clipboard
  • resolvepb — Grab the URL from the clipboard and resolve any redirects as above.

If the URL has no redirects, a "URL is canonical" message will be displayed.

Licence, thanks

This workflow is released under the MIT licence. It uses Alfred-Workflow for the plumbing and to resolve HTTP redirects.

About

Alfred workflow to resolve HTTP redirects and return the canonical URL

License:MIT License


Languages

Language:Python 100.0%