Need to make this irc bot work with BeautifulSoup
<p>Instad of getting a respones from .downloads i want a url to triggger it and get a response back from  BeautifulSoup, Im pretty new to python and this is only like my 3rd project.</p>

<pre><code>#!/usr/bin/env python

import botlib
import urllib
import BeautifulSoup

class StaffBot(botlib.Bot):
    def __init__(self, server, channel, nick, password=None):
        botlib.Bot.__init__(self, server, 6667, channel, nick)

        if password != None:
            self.protocol.privmsg("nickserv", "identify" % password)
    def __actions__(self):
        botlib.Bot.__actions__(self)

        if botlib.check_found(self.data, ".downloads"):
            username = self.get_username()

            self.protocol.privmsg(self.channel, "%s: response" % username)          

if __name__ == "__main__":
    StaffBot("irc.rizon.net", "#chan", "nick").run()        
</code></pre>

<p>just in-case i did that wrong.... 
<a href="http://pastebin.com/AhrssPVW" rel="nofollow">http://pastebin.com/AhrssPVW</a></p>

<p>the BeautifulSoup script im using.</p>

<pre><code>    soup = BeautifulSoup.BeautifulSoup(urllib.urlopen("url"))
print soup.title.string
</code></pre>

<p>Edit</p>

<p>I kinda failed on what i was trying to say, i want to replace .downloads with say website.net/viewtopic.php. so wen someone says the website (like below) the bot replied with the page title.                                    </p>

<pre><code>somone&gt;&gt;&gt;website.net/viewtopic.php?f=6&amp;t=10960                                                                                           
bot&gt;&gt;&gt;WebsiteName &amp;bull; Viewtopic - topicname
</code></pre>
