mylife html changed again

This commit is contained in:
paul
2017-05-28 00:43:30 -04:00
parent 7c67f09074
commit a000881c2b

View File

@@ -18,7 +18,8 @@ def fml(phenny, input):
raise GrumbleError("I tried to use .fml, but it was broken. FML")
doc = lxml.html.fromstring(req)
quote = doc.find_class('block')[1][0].text_content()
quote = doc.find_class('block')[0].text_content()
quote = quote.strip()
phenny.say(quote)
fml.commands = ['fml']