JAVA网络爬虫
HttpClient

导航

 

2019年5月8日

摘要: jquery事件 事件函数列表: blur() 元素失去焦点focus() 元素获得焦点change() 表单元素的值发生变化cli... 阅读全文
posted @ 2019-05-08 17:19 gmlgxx 阅读(27) 评论(0) 推荐(0)
 
摘要: 客服端 from socket import * # 创建套接字 socket_udp = socket(AF_INET,SOCK... 阅读全文
posted @ 2019-05-08 17:13 gmlgxx 阅读(73) 评论(0) 推荐(0)
 
摘要: 把下面的链接复制到你的终端 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubu... 阅读全文
posted @ 2019-05-08 17:02 gmlgxx 阅读(38) 评论(0) 推荐(0)
 
摘要: 属性 content:表示返回的内容。charset:表示response采用的编码字符集,默认为utf-8。status_code... 阅读全文
posted @ 2019-05-08 16:46 gmlgxx 阅读(98) 评论(0) 推荐(0)
 
摘要: HttpReqeust对象 服务器接收到http协议的请求后,会根据报文创建HttpRequest对象,这个对象不需要我们创建,直接... 阅读全文
posted @ 2019-05-08 16:34 gmlgxx 阅读(97) 评论(0) 推荐(0)
 

2019年5月7日

摘要: tcp多线程客户端 from socket import * from threading import Thread def s... 阅读全文
posted @ 2019-05-07 21:37 gmlgxx 阅读(71) 评论(0) 推荐(0)
 
摘要: tcp单进程非堵塞服务器 from socket import * def main(): tSocket = sock... 阅读全文
posted @ 2019-05-07 21:34 gmlgxx 阅读(54) 评论(0) 推荐(0)
 
摘要: tcp多线程服务器 from threading import Thread from socket import * def r... 阅读全文
posted @ 2019-05-07 21:32 gmlgxx 阅读(72) 评论(0) 推荐(0)
 
摘要: 多进程tcp服务器 from multiprocessing import Process from socket import *... 阅读全文
posted @ 2019-05-07 21:31 gmlgxx 阅读(62) 评论(0) 推荐(0)
 
摘要: 模型类 # 定义地区模型 class AreaInfo(models.Model): # 地区名字 title... 阅读全文
posted @ 2019-05-07 18:52 gmlgxx 阅读(64) 评论(0) 推荐(0)