python3 implements 12306 to query the remaining tickets

1, Principle of querying the remaining tickets The normal user's web browser usually enters 12306 official website to query the remaining tickets. You can click to query the starting station, terminal station and date. If you use Python to operate, there are two schemes. One is based on selenium 2 automatic framework ...

Posted on Tue, 05 May 2020 05:38:20 -0700 by Dude0

Problem of analog login Taobao slider

Preface Recently, it has been found that Taobao's cookie s on the server are always in the state of not being logged in. When Taobao logs in, it will force a slider. Moreover, by simulating the slider, it will always prompt: < div id = "nocaptcha" class = "NC container TB login" data NC IDX = "1" style = " ...

Posted on Mon, 04 May 2020 13:16:15 -0700 by CallItKarma

jenkins rpm package installation

1, Environmental description jenkins depends on the java environment. To start jenkins, you need to install jdk1. This installation adopts rpm package, version is jenkins-2.234-1.12.jdk version: jdk-8u51-linux-x64.tar.gz3.jenkins should be used in combination with mvn, version: apache-maven-3.6.3-bin.tar.gz4. Start Jenkins in root mode after i ...

Posted on Mon, 04 May 2020 07:51:53 -0700 by gilijk

Use of Tencent map, add multiple tags and click events

Tencent map API website: http://lbs.qq.com/javascript_v2/index.html Obtain the longitude and latitude of the current position Before using Tencent map, you need to obtain the longitude and latitude of the specified location. You can use the specific geographical location (for example, Chaoyang Joy City, No. 101, Ch ...

Posted on Mon, 04 May 2020 07:07:34 -0700 by robert_a89

Gin go learning Note 6: preparation of gin web framework Api

Api writing 1> The data formats returned by the Api of the Gin framework are JSON, XML and yaml. Yaml is a special data format. (I haven't implemented the operation of getting nodes for the time being.) 2> In the apis folder, create a new data.go file as the business logic code to obtain api data. The specific code is as follows:     pac ...

Posted on Mon, 04 May 2020 04:14:13 -0700 by Levan

ajax long connection return data cannot enter success status is cancelled

Front end implementation: function ajaxLongConn(){ $.ajax({ type : "POST",// //Async: true, / / synchronous execution timeout :180000,//The single timeout long connection time is three minutes url : "${ctx}/pollModel/timerPollReport.html", ...

Posted on Sun, 03 May 2020 23:57:03 -0700 by webmaster02

Crawling World Epidemic Data to Map Visualization of Epidemics

Find a target site First find a data interface For example, find this website https://xw.qq.com/act/qgfeiyan?pgv_ref=3gqtb&ADTAG=3gqtb Then the right mouse button opens the check Find the Network and select XHR Then refresh the page Select ranklist preview shows that we have the data information we need here The interface ad ...

Posted on Sun, 03 May 2020 23:21:34 -0700 by nalleyp23

three.js learning function usage 3

23. Controlling animation through json objects //SphereGeometry                   var sphereGeometry = new THREE.SphereGeometry( 5, 32, 32 );                   var material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );                   var sphereMesh = new THREE.Mesh( sphereGeometry, material );                ...

Posted on Sun, 03 May 2020 16:55:31 -0700 by kumschick

Phase makes h5 games (2)

This article mainly summarizes the knowledge points in the small game. summary Preload material //Preload sprite material game.load.atlas('button','images/button.png', 'images/button.json') this.load.spritesheet('loading','images/loading.png', 154, 155, 25) //Length, width and number of frames per frame //Preload picture game.load.image('bg' ...

Posted on Sun, 03 May 2020 08:06:32 -0700 by kendall

Python reads JSON files with comments

Python reads JSON files with comments When reading the json file, sometimes when there is a comment in the file, it will report Expecting property name: line 12 column 3 (char 268) This means that there are characters in 12 columns and 3 lines of the file that do not conform to JSON format, that is, comments. In order to parse the ...

Posted on Sun, 03 May 2020 05:06:52 -0700 by PRSBOY