06 2020 档案

摘要:源代码: import requests path = "D:\abc.jpg" #用\或/(老师用的)存疑 r.encoding = r.apparent_encoding kv = {'user-agent':'Mozilla/5.0'} url = "见列表" r = requests.get 阅读全文
posted @ 2020-06-29 14:44 橘子Jane 阅读(203) 评论(1) 推荐(0) 编辑
摘要:一 爬取京东商品信息 代码: import requests# url = "https://item.jd.com/2967929.html"url = "https://item.jd.com/100011585270.html"try: r = requests.get(url) r.rais 阅读全文
posted @ 2020-06-28 16:57 橘子Jane 阅读(1212) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示