diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-25 15:17:19 -0500 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2018-12-25 15:18:46 -0500 |
commit | c0339eb4af50880a66e6f0d19e3ecb3ce3469696 (patch) | |
tree | 6979d54a5b10eca137dba1be5a1c8791214e4cd1 /examples/htmlStripper.py | |
parent | 86c412dddfd785d16976d08b1c74c1eac466bfcb (diff) | |
download | pyparsing-git-c0339eb4af50880a66e6f0d19e3ecb3ce3469696.tar.gz |
Use HTTPS URLs where available in docs, examples, and comments
Diffstat (limited to 'examples/htmlStripper.py')
-rw-r--r-- | examples/htmlStripper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/htmlStripper.py b/examples/htmlStripper.py index 6fc4aef..c3dbcf1 100644 --- a/examples/htmlStripper.py +++ b/examples/htmlStripper.py @@ -16,7 +16,7 @@ scriptBody = scriptOpen + SkipTo(scriptClose) + scriptClose commonHTMLEntity.setParseAction(replaceHTMLEntity)
# get some HTML
-targetURL = "http://wiki.python.org/moin/PythonDecoratorLibrary"
+targetURL = "https://wiki.python.org/moin/PythonDecoratorLibrary"
with closing(urllib.request.urlopen( targetURL )) as targetPage:
targetHTML = targetPage.read().decode("UTF-8")
|