python简单爬虫

1 #网络资源(URLS)
2 import requests
3 newsurl = 'https://news.qq.com/'
4 res = requests.get(newsurl)
5 print(res.text)
怕什么真理无穷,进一寸有一寸的欢喜。---胡适
原文地址:https://www.cnblogs.com/hujianglang/p/9649484.html