摘要: INSERT INTO new_schedules_spider_shipsname ( ID,SCAC,VESSEL,VOYAGE,SERVICE_NAME,MD5 ) SELECT NULL,%s,%s,%s,%s,%s FROM DUAL WHERENOT EXISTS ( SELECT * 阅读全文
posted @ 2018-12-26 16:25 AngDH 阅读(363) 评论(0) 推荐(0)
摘要: 安装:通过pip install scrapy即可安装 在ubuntu上安装scrapy之前,需要先安装以下依赖:sudo apt-get install python3-dev build-essential python3-pip libxml2-dev libxslt1-dev zlib1g- 阅读全文
posted @ 2018-12-25 13:55 AngDH 阅读(100) 评论(0) 推荐(0)
摘要: 安装 tar -zxvf mitmproxy-3.0.1-linux.tar.gz sudo mv mitmproxy mitmdump mitmweb /usr/bin 详情 https://germey.gitbooks.io/python3webspider/1.7.2-MitmProxy%E 阅读全文
posted @ 2018-12-19 17:25 AngDH 阅读(136) 评论(0) 推荐(0)
摘要: 1,centos7 安装 google-chrome (1) 添加chrome的repo源 vi /etc/yum.repos.d/google.repo 2 安装 3 查看版本号 chromedriver 下载地址 http://npm.taobao.org/mirrors/chromedrive 阅读全文
posted @ 2018-12-13 23:52 AngDH 阅读(309) 评论(0) 推荐(0)
摘要: 下载网站 https://digi.bib.uni-mannheim.de/tesseract/ 阅读全文
posted @ 2018-12-08 16:29 AngDH 阅读(74) 评论(0) 推荐(0)
摘要: linux 安装 pyuthon 安装 pip install gunicorn manage.py 文件 运行命令 gunicorn -D -b 0.0.0.0:12100 manage:app -D 后台运行 gunicorn --access-logfile access.log --erro 阅读全文
posted @ 2018-12-03 23:13 AngDH 阅读(3789) 评论(0) 推荐(0)
摘要: controller 接收参数 用 HttpServletRequest 代替 @RequestParam() 接收参数 picFile 前台 传文件的参数名字 , 这样 前段 传 null 就可以 不必须 存文件了 https://blog.csdn.net/zhaofuwu/article/de 阅读全文
posted @ 2018-11-23 23:03 AngDH 阅读(695) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-11-05 23:37 AngDH 阅读(98) 评论(0) 推荐(0)
摘要: 1 在pom.xml中加入Swagger2的依赖 2 3 . controller https://www.jianshu.com/p/8033ef83a8ed https://www.imooc.com/article/20521 在浏览器中输入你配置的网址就可以访问http://localhos 阅读全文
posted @ 2018-11-05 18:33 AngDH 阅读(166) 评论(0) 推荐(0)
摘要: use information_schema;select table_name,table_rows from tables where table_schema='cargo_new' order by table_rows desc limit 3 -- cargo_new (选择数据库) h 阅读全文
posted @ 2018-11-05 09:37 AngDH 阅读(1012) 评论(0) 推荐(0)