From bee459ea208b095129046f0833c6b0e5ec248368 Mon Sep 17 00:00:00 2001 From: PidgeyL Date: Fri, 4 Dec 2015 17:12:31 +0100 Subject: [PATCH] remove BeautifulSoup error --- fbchat/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbchat/client.py b/fbchat/client.py index 181dbbf..17b79ee 100644 --- a/fbchat/client.py +++ b/fbchat/client.py @@ -101,7 +101,7 @@ class Client(object): self.rev = int(r.text.split('"revision":',1)[1].split(",",1)[0]) #self.rev = int(random()*100000) - soup = bs(r.text) + soup = bs(r.text, "lxml") self.fb_dtsg = soup.find("input", {'name':'fb_dtsg'})['value'] for i in self.fb_dtsg: