Skip to content
Do things with the title of a URL.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
requirements.txt
url

README.md

URL

Do things with the title of a URL.

Similar to Make a pretty Markdown link!, but a lot faster.

  1. Make a Markdown link.
  2. Make an HTML link.
  3. Just get the title by itself.

Setup

  1. mkvirtualenv url
  2. pip install -r requirements.txt
  3. chmod +x url
  4. Add a symbolic link to the url file somewhere on your path.
  5. Adjust the shebang as needed.

Usage

To get the title of the URL by itself:

$ url http://example.com

To get a Markdown link:

$ url -m http://example.com

To get an HTML link:

$ url -t http://example.com
You can’t perform that action at this time.