home · contact · privacy
Shorten prefix for page title retrieval message.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 21 Jan 2016 18:50:55 +0000 (19:50 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 21 Jan 2016 18:50:55 +0000 (19:50 +0100)
plomlombot.py

index 089fa6f61997fabdfd7ba8bfe84a7d512960be25..9da116646679d15cb582a18e21ffb6026512361e 100755 (executable)
@@ -122,7 +122,7 @@ def lineparser_loop(io, nickname):
                     continue
                 title = bs4.BeautifulSoup(r.text).title
                 if title:
-                    notice("PAGE TITLE FOR URL: " + title.string.strip())
+                    notice("PAGE TITLE: " + title.string.strip())
                 else:
                     notice("PAGE HAS NO TITLE TAG")