summaryrefslogtreecommitdiff
path: root/examples/urlExtractor.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-12-25 15:17:19 -0500
committerJon Dufresne <jon.dufresne@gmail.com>2018-12-25 15:18:46 -0500
commitc0339eb4af50880a66e6f0d19e3ecb3ce3469696 (patch)
tree6979d54a5b10eca137dba1be5a1c8791214e4cd1 /examples/urlExtractor.py
parent86c412dddfd785d16976d08b1c74c1eac466bfcb (diff)
downloadpyparsing-git-c0339eb4af50880a66e6f0d19e3ecb3ce3469696.tar.gz
Use HTTPS URLs where available in docs, examples, and comments
Diffstat (limited to 'examples/urlExtractor.py')
-rw-r--r--examples/urlExtractor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/urlExtractor.py b/examples/urlExtractor.py
index 58e74ae..dc88608 100644
--- a/examples/urlExtractor.py
+++ b/examples/urlExtractor.py
@@ -14,7 +14,7 @@ linkBody.addParseAction(lambda toks: ' '.join(toks[0].strip().split()))
link = linkOpenTag + linkBody("body") + linkCloseTag.suppress()
# Go get some HTML with some links in it.
-with closing(urllib.request.urlopen("http://www.yahoo.com")) as serverListPage:
+with closing(urllib.request.urlopen("https://www.yahoo.com/")) as serverListPage:
htmlText = serverListPage.read().decode("UTF-8")
# scanString is a generator that loops through the input htmlText, and for each