logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

记录一次centos 使用selenium运行环境

ch_options.add_argument(“–headless”) # => 为Chrome配置无头模式。运行代码,验证是否成功,linux必须是这样的(新建一个.py文件,拷进去)查看chrome版本google-chrome --version。下载对应chrome版本的chromedriver。将下载的文件解压,放在如下位置。

文章图片
#centos#selenium#linux
TP6(jwt)token

thinkphp jwt auth composerhttps://github.com/QThans/jwt-authhttps://packagist.org/packages/thans/tp-jwt-authhttps://gitee.com/thans/jwt-authhttps://github.com/firebase/php-jwt

http自动转https【方法总结】

http自动转https【方法总结】单独页面通用代码段:以下方法较适合指定某一个子页单独https在需要强制为https的页面上加入以下代码进行处理http-->https<script type="text/javascript">var url = window.location.href;if (url.indexOf("https") < 0) {

#服务器
python爬虫(三)

爬虫手机端headersfrom bs4 import BeautifulSoupimport requestsheaders = {'User-Agent':'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobi

#python#爬虫
微擎安装模块文件 manifest.xml

<!--定义模块的基本设置属性--><application setting="true"><name><![CDATA[文章评论]]></name><identifie><![CDATA[lm_comment]]></identifie><version><![CDATA[0.1]]

mysql 语句 循环入数据库(Navicat)

mysql循环插入数据库中数据。DELIMITER ;;CREATE PROCEDURE test_insert ()BEGIN DECLARE i INT DEFAULT 1;WHILE i<100DOinsert into goods(good_name,good_price,de) values ('gui',i,'hao');SET i=i+1;END WHILE

#数据库#mysql
微信公众号{"errcode":41002,"errmsg":"appid missing"}

Array ( [appid] => wx4e1a7d31cef2c476 ){“appid”:“wx4e1a7d31cef2c476”}那为什么post提交还是没有传值给到微信服务器了,竟然原因是没有json加密再传过去。$account_api = WeAccount::create();$token = $account_api->getAccessToken();$...

到底了