标签:text _for get sts exce cep 框架 turn status
爬去网页的通用代码框架
try: r=requests.get(url,timeout=30) r.raise_for_status() r.encoding=r.apparent_encoding return r.text except: return "产生异常"
标签:text _for get sts exce cep 框架 turn status
原文地址:http://www.cnblogs.com/jiangyaju/p/7475784.html