summaryrefslogtreecommitdiff
path: root/examples/htmlStripper.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/htmlStripper.py')
-rw-r--r--examples/htmlStripper.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/htmlStripper.py b/examples/htmlStripper.py
index eb35c70..bd99b77 100644
--- a/examples/htmlStripper.py
+++ b/examples/htmlStripper.py
@@ -6,10 +6,9 @@
#
# Copyright (c) 2006, 2016, Paul McGuire
#
-import urllib.parse, urllib.error
from urllib.request import urlopen
from pyparsing import (makeHTMLTags, commonHTMLEntity, replaceHTMLEntity,
- htmlComment, anyOpenTag, anyCloseTag, LineEnd, OneOrMore, replaceWith)
+ htmlComment, anyOpenTag, anyCloseTag, LineEnd, replaceWith)
scriptOpen, scriptClose = makeHTMLTags("script")
scriptBody = scriptOpen + scriptOpen.tag_body + scriptClose