aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/simple/modify_body_inject_iframe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple/modify_body_inject_iframe.py b/examples/simple/modify_body_inject_iframe.py
index 33d18bbd..7f9cc958 100644
--- a/examples/simple/modify_body_inject_iframe.py
+++ b/examples/simple/modify_body_inject_iframe.py
@@ -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",