python3 爬蟲https的坑 -- 已解決

如下代碼在ipython執行無報錯,且有正確結果,但在pycharm執行就報錯,錯誤代碼見第二段html # coding=utf-8 import re import urllib.request def getHtml(url): page = urllib.request.urlopen(url) html = page.read() html = html.de
相關文章
相關標籤/搜索