摘要: 1 import urllib.request 2 3 #付费的代理发送 4 #1.用户名密码(带着) 5 #通过验证的处理器来发送 6 7 def money_proxy_use(): 8 # #第一种方式付费代理发送请求 9 # #1.代理ip 10 # money_proxy ={"http":"username:pwd@192.168.12.... 阅读全文
posted @ 2019-04-17 21:59 淡水无甜 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1 import urllib.request 2 import urllib.parse 3 import string 4 5 6 def get_params(): 7 url = "http://www.baidu.com/s?" 8 9 params = { 10 "wd":"中文", 11 "key":"zh... 阅读全文
posted @ 2019-04-17 21:22 淡水无甜 阅读(104) 评论(0) 推荐(0) 编辑