From c0339eb4af50880a66e6f0d19e3ecb3ce3469696 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 25 Dec 2018 15:17:19 -0500 Subject: Use HTTPS URLs where available in docs, examples, and comments --- examples/htmlStripper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/htmlStripper.py') 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") -- cgit v1.2.1