home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05ee5c7
)
Strip whitespace start/end from page title.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Jan 2016 23:32:14 +0000
(
00:32
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 19 Jan 2016 23:32:14 +0000
(
00:32
+0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 767d1f71a156c5a744c8d80ed08802ad97af0127..2b59a0b9a5bc5331c21988dbc8997b8dbefefff6 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-120,7
+120,7
@@
def lineparser_loop(io, nickname):
continue
title = bs4.BeautifulSoup(r.text).title
if title:
- notice("PAGE TITLE FOR URL: " + title.string)
+ notice("PAGE TITLE FOR URL: " + title.string
.strip()
)
else:
notice("PAGE HAS NO TITLE TAG")