摘要: 1 import urllib.request 2 import os 3 4 def open_url(url): 5 req=urllib.request.Request(url) 6 req.add_header('User-Agent','Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, ... 阅读全文
posted @ 2017-04-10 22:10 猪猪宝丫 阅读(869) 评论(0) 推荐(0) 编辑