Climbing the information of millet
Explain
Climbing millet is good:
Put the two links together and run once to get them all (about 700)
Using a combination of selenium+chrome+lxml
(Quickly, because it's just one page)
Output:
The program generates three files, two CSVS and one xls
csv is compact and versatile
data_mi.csv uses utf-8 encoding.
data_mi-gbk.csv uses GBK encoding ...
Posted by Jewbilee on Tue, 08 Oct 2019 23:18:24 -0700
[SpringBoot 2.x] - Thymeleaf, Web, Tomcat and Faicon in SpringBoot Web development
Web development is a very important part of development. The core content of Web development mainly includes embedded Servlet container and Spring MVC. More importantly, Spring Boot ``provides a quick and convenient way to develop web. It provides Tomcat and Spring MVC dependencies of embedded server using dependency jar: spring-boot-starter-w ...
Posted by begeiste on Tue, 08 Oct 2019 22:45:30 -0700
Java Learning Summary - IOC's Way to Create Objects under 065 spring
How do we usually create objects?
Parametric and non-parametric structures
Let's see how to deal with these two situations in Spring.
Create entity classes
public class User {
private String name;
private String sex;
private int age;
public User() {
System.out.println("User N ...
Posted by fatherlyons on Tue, 08 Oct 2019 17:46:25 -0700
Calling Express Bird Single Number Query Interface Api to Check Express
The main functions are as follows: According to the order number entered by the user, the express bird can be automatically identified according to the API interface of the express bird query, so as to realize the function of automatic query.
Docking process
1. Apply for an express bird account to obtain authorization http://www.kdniao.com/reg
...
Posted by SoccerGloves on Tue, 08 Oct 2019 06:09:43 -0700
Talking about Web Framework
I. Essence of Web Framework
All Web applications are essentially a socket server, and the user's browser is a socket client.
II. Web Framework Function
socket sends and receives messages - wsgiref (test), uwsgi (online)
Returns different strings according to different paths
Return dynamic pages (string substitution) - jin ...
Posted by cptnwinky on Mon, 07 Oct 2019 23:20:58 -0700
python Reptilian Real-time Project Climbing Bean Flap: 250 Most Popular Movies
python Reptilian Real-time Project Climbing Bean Flap: 250 Most Popular Movies
The main idea is to request the link of Douban to get the source code of the web page.
Then use BeatifulSoup to get what we want
Finally, the data is stored in excel file
The main idea is to request the link of Douban to get the source code of the web page.
T ...
Posted by quickphp on Mon, 07 Oct 2019 22:45:24 -0700
Add animation to the list using RecyclerView and Layout Animation
Add animation to the list using RecyclerView and Layout Animation
Bai Shixiu'er Collection was transferred from May to 14, 2018 Report
Here's how to use RecyclerView and Layout Animation to add animation to the list. There are three steps:
Add animation to list items
Define Layout Animation with Animation of List Items
RecyclerView Appl ...
Posted by azaidi on Mon, 07 Oct 2019 19:12:51 -0700
Android, iPhone and Java are three platform-consistent encryption tools
import java.security.Key;
import javax.crypto.Cipher;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESedeKeySpec;
import javax.crypto.spec.IvParameterSpec;
/**
* 3DES Encryption Tool Class
*
* @author liufeng
* @date 2012-10-11
*/
public class Des3 {
// secret key
private final static ...
Posted by Cogen on Mon, 07 Oct 2019 05:19:07 -0700
Data Cleaning and Simple Analysis
Data analysis case sharing, for learning and use, data volume is relatively small, data source for the hook, July 8th, area, data analysis post, is so little, yes.
demand
The crawled data were cleaned and further analyzed by python.
tool
python3,pycharm
Data cleaning
First analyze the target file
...
Posted by larissahn on Mon, 07 Oct 2019 04:02:47 -0700
log4net Quick Start
Original address: https://www.cnblogs.com/lsgsanxiao/p/5845300.html
Slight deletion
1. configuration files, you can create a log4net.config file separately, then specify the directory manually, or insert the following code under the app.config or web.config node of the project
<?xml version="1.0" encoding="utf-8" ?>
<configuratio ...
Posted by bznutz on Sun, 06 Oct 2019 20:08:13 -0700