]> jfr.im git - erebus.git/blobdiff - modules/urls.py
Added 'Title:' to general title checker
[erebus.git] / modules / urls.py
index 5fc10a8c7c48a53b8906cdad0092bda1b5be0cb0..c6d939f2a712bd61abe5c962bbd55aaf1e657078 100644 (file)
@@ -151,6 +151,6 @@ def gottwitch(uri):
 def goturl(url):
        try:
                soup = BeautifulSoup(urllib2.urlopen(url))
-               return soup.title.string
+               return "Title: %s" % soup.title.string
        except:
-               return "Bad URL"
\ No newline at end of file
+               return "Bad URL"