A simple plugin that detects URLs in a channel and returns the page title. Shortened URLs from Minily, Bitly, and TinyURL are resolved automatically.
Go into your Limnoria plugin dir, usually ~/runbot/plugins and run:
git clone https://github.com/Alcheri/URLtitle.git
To install additional requirements, run from /plugins/URLtitle:
pip install --upgrade -r requirements.txt
Next, load the plugin:
/msg bot load URLtitle
-
config channel #channel plugins.URLtitle.enabled True or False (On or Off)
Should plugin work in this channel?
-
supybot.plugins.URLtitle.userAgent
User-Agent header sent when fetching URLs. Default is a plugin-specific Limnoria URLtitle identifier.
-
config channel #channel plugins.URLtitle.showExpandedShortUrl True or False (On or Off)
If enabled and a supported short URL (Minily, Bitly, TinyURL) is resolved, URLtitle appends the expanded destination URL in the reply.
Copyright © 2016 - 2026, Barry Suridge
- In Python 3 files, do not add
# -*- coding: utf-8 -*-unless a non-default source encoding is required. - Use
#!/usr/bin/env python3only for executable scripts, not import-only modules.