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 (from parent 1:
25fcd7f
)
Get rid of annoying BeautifulSoup parser warning.
author
Christian Heller
<c.heller@plomlompom.de>
Thu, 4 Feb 2016 00:12:03 +0000
(
01:12
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Thu, 4 Feb 2016 00:12:03 +0000
(
01:12
+0100)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 11a8206ab4691eaf500cedbb0873efeb532da561..57ac4d4c937e70a072b7d3b2b755c173b8c6b36e 100755
(executable)
--- a/
plomlombot.py
+++ b/
plomlombot.py
@@
-248,7
+248,7
@@
def handle_url(url, notice, show_url=False):
return
if mobile_twitter_hack(url):
return
return
if mobile_twitter_hack(url):
return
- title = bs4.BeautifulSoup(r.text).title
+ title = bs4.BeautifulSoup(r.text
, "html.parser"
).title
if title:
prefix = "PAGE TITLE: "
if show_url:
if title:
prefix = "PAGE TITLE: "
if show_url: