摘要: https://passport.baidu.com/v2/api/?login,Post请求该URL的包体数据分析staticpage=http%3A%2F%2Fwww.baidu.com%2Fcache%2Fuser%2Fhtml%2Fv3Jump.html #编码后的URL,原URL:http://www.baidu.com/cache/user/html/v3Jump.htmlcharset=utf-8 #网页编码方式token=the+fisrt+two+args+should+be+string+type%3A0%2C1%21 #动态值,需要进一步具体分析其来源tpl=mn #未知 阅读全文
posted @ 2014-03-24 16:38 junezhang 阅读(1359) 评论(1) 推荐(0) 编辑
摘要: import urllibencodedUrl='http%3A%2F%2Fwww.baidu.com%2Fcache%2Fuser%2Fhtml%2Fv3Jump.html' #登录百度首页抓取到的一条Post数据为编码后的URLdecodedUrl=urllib.unquote(encodedUrl) #URL解码实现:urllib.unquote()print encodedUrlprint decodedUrl 阅读全文
posted @ 2014-03-24 10:48 junezhang 阅读(228) 评论(0) 推荐(0) 编辑