上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 34 下一页
摘要: 本文链接:https://blog.csdn.net/mouday/article/details/81512748 scrapy中有一个参数:DOWNLOAD_DELAY 或者 download_delay 可以设置下载延时,不过Spider类被初始化的时候就固定了,爬虫运行过程中没发改变。 随机 阅读全文
posted @ 2019-11-13 16:30 逐梦~前行 阅读(4474) 评论(0) 推荐(0) 编辑
摘要: 启动, 重启 nginx -c /etc/nginx/nginx.conf nginx -c /etc/nginx/nginx.conf -s reload stream{ upstream backend{ server w-2wwmuxxxd.com:5432; } server{ listen 阅读全文
posted @ 2019-11-12 18:00 逐梦~前行 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 阿里 https://data.aliyun.com/ai#/ocr-other https://market.console.aliyun.com/imageconsole/index.htm?#/bizlist?_k=jd8xq7 https://market.aliyun.com/produc 阅读全文
posted @ 2019-11-08 18:06 逐梦~前行 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 查询文件中的字段 grep -n -i "ggpush" 文件 (确定ggpush在文件中的行数并且忽略大小写) 现在有test.py程序要后台部署, 里面有输出内容 使用命令: nohup python -u test.py > test.log 2>&1 & 最后的&表示后台运行 2 输出错误信 阅读全文
posted @ 2019-09-29 10:04 逐梦~前行 阅读(820) 评论(0) 推荐(0) 编辑
摘要: 查找目录:find /(查找范围) -name '查找关键字' -type d查找文件:find /(查找范围) -name 查找关键字 -print 详解: find命令用来在指定目录下查找文件。任何位于参数之前的字符串都将被视为欲查找的目录名。如果使用该命令时,不设置任何参数,则find命令将在 阅读全文
posted @ 2019-09-29 10:03 逐梦~前行 阅读(3544) 评论(0) 推荐(0) 编辑
摘要: centos 7环境下: mkdir airflow //创建airflow文件夹 git clone https://github.com/puckel/docker-airflow.git /root/airflow //下载源码到airflow文件夹 docker run -d -p 8082 阅读全文
posted @ 2019-09-26 12:01 逐梦~前行 阅读(2849) 评论(0) 推荐(0) 编辑
摘要: 版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/BjarneCpp/article/details/79912495 <!-- flowchart 箭头图标 勿删 --> 先举个例子,下图 阅读全文
posted @ 2019-09-19 17:00 逐梦~前行 阅读(12560) 评论(0) 推荐(0) 编辑
摘要: 调用百度ocr的API,python简易版本 <!-- 作者区域 --> https://www.jianshu.com/p/e10dc43c38d0 1. 注册 百度云注册账号 https://cloud.baidu.com/?from=console 管理应用 https://console.b 阅读全文
posted @ 2019-09-03 19:13 逐梦~前行 阅读(965) 评论(0) 推荐(0) 编辑
摘要: 在spider中 主动关闭爬虫: self.crawler.engine.close_spider(self, “cookie失效关闭爬虫”) 在pipeline 和downloadermiddlewares 主动关闭爬虫: spider.crawler.engine.close_spider(sp 阅读全文
posted @ 2019-09-02 16:33 逐梦~前行 阅读(1847) 评论(0) 推荐(0) 编辑
摘要: 全栈与架构 > 技术设计 Supervisor启动error: <class 'socket.error'>, [Errno 101] Network is unreachable 2015/08/03 技术设计 Linux,Python,Supervisor,Tornado 合作公司的MM今天送来 阅读全文
posted @ 2019-08-30 11:50 逐梦~前行 阅读(4248) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 34 下一页