一、背景 因为经常有爬虫数据处理的需求,之前一直用的多线程+requests方式爬虫,但是这种方式有两个问题: 1、当请求很多,并发稍微多一点的时候电脑特别卡 2、每次变更请求包,比如post换get,需要用不同的方式解析出header等数据不是很方便 主要基于这两个原因,搞了一个基于socket+ ...
分类:
其他好文 时间:
2021-02-27 13:13:04
阅读次数:
0
1.用vue脚手架搭建项目,按理用create使用脚手架3 2.安装antd 3.划分目录结构 4.配置别名(vue-cli2) 5.新建个vue.config.js,在vue-cli3上没有,文件名没错,就能够自动合并起来了 项目内容: 1.登录后拿到token,根据token去请求用户信息inf ...
分类:
其他好文 时间:
2021-02-26 13:35:28
阅读次数:
0
Druid出现DruidDataSource - recyle error - recyle error java.lang.InterruptedException: null异常排查与解决 Druid出现DruidDataSource - recyle error - recyle error ...
分类:
编程语言 时间:
2021-02-26 13:23:10
阅读次数:
0
vue2的 npm run build 打包时报此错误log的情况下 拓展 https://www.cnblogs.com/leiting/p/8442214.html 1.检查报错路径下是否有报错所指的文件夹 2.没有的话 人工添加一个就OK 人工添加此文件 ...
分类:
Web程序 时间:
2021-02-26 13:10:46
阅读次数:
0
django后端解决跨域方式一Middleware 中间介实现跨域过程 1、新建中间介包 #mkidr middleware #touch middleware/__init.py__ #vim middleware/crossdomainxhr.py from django import http ...
分类:
其他好文 时间:
2021-02-26 12:57:56
阅读次数:
0
[root@localhost logs]# tail -100f error.log ngx_http_fastdfs_process_init pid=11255 [2021-02-24 19:11:20] ERROR - file: ../common/fdfs_http_shared.c, ...
分类:
其他好文 时间:
2021-02-26 12:54:25
阅读次数:
0
异常信息:ERROR [amqpReceiver.01] org.mule.exception.DefaultSystemExceptionStrategy: Caught exception inflowConstructt&org/mule/api/construct/FlowConstruct ...
分类:
其他好文 时间:
2021-02-25 12:20:16
阅读次数:
0
IDEA迭代器for循环 iter Iterate iterable | Array in J2SDK 5 syntax itar Iterate elements of array itco Iterate elements of java.util.Collection iten Iterate ...
分类:
其他好文 时间:
2021-02-25 11:50:56
阅读次数:
0
background 在以5.3为内核的ubuntu中编译3.10的内核时,出现: include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc5.h错误 尝试了网上说的将当前内核(5.3)的compiler-gcc.h复制 ...
分类:
其他好文 时间:
2021-02-24 13:28:44
阅读次数:
0
public function getAccesstoken(){ $appid = ''; /*小程序appid*/ $srcret = ''; /*小程序秘钥*/ $tokenUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=clie ...
分类:
微信 时间:
2021-02-24 13:24:26
阅读次数:
0