summaryrefslogtreecommitdiff
path: root/examples/urlExtractor.py
diff options
context:
space:
mode:
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