python3でurlを開こうとすると以下のエラーが出てしまいます。
対処法を教えていただけませんでしょうか。
■code
1 # -*- coding: utf-8 -*- 2 from xml.etree.ElementTree import * 3 from urllib.request import urlopen 4 from urllib.parse import urlparse 5 6 7 url = ('https://hogehoge.com') 8 response = urlopen(url) 9 html = response.read() 10 11 print (html) 12
■error
<urlopen error unknown url type: https>
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/02 02:43
2016/01/02 07:11
2016/01/02 08:15
2016/01/02 10:06