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: