'use strict';
var request = require( 'request' ),
    cheerio = require( 'cheerio' ),
    urlChecker = {
        bot : false,
        setup : function( bot ){
            var _this = this,
                channel;

            _this.bot = bot;
            for( channel in _this.bot.opt.channels ){
                if( _this.bot.opt.channels.hasOwnProperty( channel ) ){
                    bot.addListener( 'message' + this.bot.opt.channels[ channel ], _this.handleMessage );
                }
            }

        },
        handleMessage : function( from, text, message ){
            var url,
                urlRegex = /(https?:\/\/[^\s]+)/g;

            url = text.match( urlRegex );

            if( url !== null ){
                request( url[ 0 ], function( error, response, html ){
                    var $ = cheerio.load( html ),
                        pageTitle;

                    if( error ){
                        console.log( error );
                    }

                    pageTitle = $( 'title' ).text();

                    urlChecker.sendMessage( message.args[ 0 ], pageTitle );
                });
            }
        },
        sendMessage : function( channel, message ){
            this.bot.say( channel, message.trim() );
        }
    };

module.exports = urlChecker;

@@ -640,18 +640,166 @@
 %5E%5Cs%5D+)/g
+,%0A                options = %7B%0A                    headers: %7B%0A                        'User-Agent': 'request'%0A                    %7D%0A                %7D
 ;%0A
-
 %0A       
@@ -886,25 +886,64 @@
     
-request( url%5B 0 %5D
+options.url = url%5B 0 %5D;%0A                request( options
 , fu

Add user agent so we don't get bounced by sites requiring it (e.g. SoundCloud)