Reptile crack know how login (do not use Selenium module)
I. analysis.
Zhihu completes the steps of login
Get cookies first (if you don't get the subsequent verification code, you can't get them)
Get verification code
Submit login related content
The first two steps are simple and a little careful.
The most difficult part is the third step. The front-end is js encrypted.
There's no trick because the ...
Posted by kaveman50 on Mon, 21 Oct 2019 02:01:40 -0700
Python wechat sends weather forecast to [girlfriend] automatically and regularly
Design sketch
Main idea
1. Get the friends list from wxpy
2. Create timer
3. Timer trigger function
4. Function execution, traversing the friends list
5. The friend object performs the function with parameters, and the parameter is the friend city.
6. In the function, request the weather interface of B ...
Posted by waterssaz on Sun, 20 Oct 2019 12:17:23 -0700
SSM project practice 23: extension of basic data query
Basic data query
Preface
Remove Pagination
Modify basic.jsp
Modify BasicController
Add search list
Add dependency
Modify the springmvc.xml file
Modify the basic.jsp page
Control layer adding method
service level
dao level
mapper.xml
test
Preface
In general, the basic data is not very large a ...
Posted by shaunmckinnon on Sat, 19 Oct 2019 13:09:36 -0700
Python novice tutorial: Python wechat sends weather forecast to [girlfriend] automatically and regularly
Design sketch
Main idea
1. Get the friends list from wxpy
2. Create timer
3. Timer trigger function
4. Function execution, traversing the friends list
5. The friend object performs the function with parameters, and the parameter is the friend city.
6. In the function, request the weather interface of Baidu, get the weather data corresponding ...
Posted by theperfectdrug on Sat, 19 Oct 2019 10:29:10 -0700
Use of android request network and httpclient to upload and download
Original link: http://www.cnblogs.com/riasky/p/3464808.html
The most important access to the network is the http protocol.
The http protocol is simple, but it's important.
Directly on the code, which is a code block code block, with whi ...
Posted by maverickminds on Sat, 19 Oct 2019 10:13:53 -0700
Applet development notes - add content security detection
In the previous two days, when the applet version was released, the audit was rejected because users did not perform security checks on the content when they published it, such as the name of the national leader.
Later I learned that the official document of the applet provided relevant detection interfaces, including text and image detection. ...
Posted by Moocat on Sat, 19 Oct 2019 09:27:48 -0700
python crawler: the first step of Ctrip integrated operation
After the first two articles, we have almost prepared
Crawling Ctrip ticket information: https://blog.csdn.net/weixin_42109012/article/details/96423081
Get Ctrip City abbreviation: https://blog.csdn.net/weixin_42109012/article/details/96378400
Now we need to change our copy request payload to set reques ...
Posted by hip_hop_x on Fri, 18 Oct 2019 07:58:04 -0700
ElasticSearch5.x delete data
The following tests are available in elastic search version 5.6.10.
First of all, ElasticSearch does not support deleting a type since 2.x, so when you use the delete command to try to delete a type, you will get the following error:
No handler found for uri [/dating_profile/zhenai/] and method [DELETE]
test
If there is an index named dating & ...
Posted by kelvin on Thu, 17 Oct 2019 13:37:32 -0700
Use of Alibaba's FastJson package
2. Introduction to Alibaba's FastJson package.
The Fastjson API entry class is com.alibaba.fastjson.JSON. Common serialization operations can be directly completed in static methods on JSON classes.
SerializeWriter: equivalent to StringBuffer
JSONArray: equivalent to List
JSONObject: equivalent to map ...
Posted by evanesq on Thu, 17 Oct 2019 13:25:08 -0700
Using code to send SMS
Interface specification
/** * initialization *@ param serverIP required parameter server address *@ param serverPort required parameter server port *@ param softVersion required parameter REST version number */ REST($serverIP,$serverPort,$softVersion) /** *Set primary account * *@ param AccountSid master account *@ param ...
Posted by fredyap1234 on Thu, 17 Oct 2019 12:54:51 -0700