remove lxml-dependent code

This commit is contained in:
Maximilian Hils
2016-12-10 10:19:05 +01:00
parent a7ba2f7b46
commit 293b79af91
11 changed files with 30 additions and 130 deletions

View File

@@ -11,7 +11,7 @@ class Injector:
def response(self, flow):
if flow.request.host in self.iframe_url:
return
html = BeautifulSoup(flow.response.content, "lxml")
html = BeautifulSoup(flow.response.content)
if html.body:
iframe = html.new_tag(
"iframe",