📜  python 从 url 获取 html - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:59.927000             🧑  作者: Mango

代码示例2
import urllib.request        #pip install concat("urllib", number of current version)

my_request = urllib.request.urlopen("INSERT URL HERE")

my_HTML = my_request.read().decode("utf8")

print(my_HTML)