Hỏi & Đáp
urlopen('http://pythonscraping.com/pages/page1.html') 했을때 SSLCertVirificationError가 발생했나요?
import urllib.request import certifi import ssl html = urllib.request.urlopen('https://pythonscraping.com/pages/page1.html', context=ssl.create_default_context(cafile=certifi.where())) -- 이걸로 해결했습니다
- Lượt thích
- 0
- Số bình luận
- 1
- Lượt xem
- 242

