Stage 12 - Reptile 02: [request; data extraction (regular, Beautiful Soup, xpath)]

Articles Catalogue 1. URLError 2. Use of request Libraries 2.1. Basic Introduction 2.2. get request 2.3. post request 2.4. Custom request header 2.5. Setting timeout time 2.6. Proxy access 2.7. session automatically saves cookies 2.8. ssl verification 2.9. request for information 3. Data extraction ...

Added by Dimwhit on Wed, 24 Jul 2019 12:58:14 +0300

[Python] Chain Household Rental Data Grabbing

1. Write in front As an active developer in Beijing, Tianjin and Hebei, we should take a look at some data of Shijiazhuang, an international metropolis. This blog crawls the rental information of Chain Home. The data can be used as data analysis material in the following blog. The website we need to c ...

Added by Xil3 on Wed, 24 Jul 2019 12:03:25 +0300

setRepeatingRequest and capture Modules for Android Camera Principles

The four most important steps in the Camera operation are: CameraManager -->openCamera --->Open Camera CameraDeviceImpl-->createCaptureSession --->Create Capture Session CameraCaptureSession -->setRepeatingRequest --->Set Preview Interface CameraDeviceImpl-->capture--->Start capturing pictures Prev ...

Added by lur on Tue, 23 Jul 2019 19:54:57 +0300

Introduction to Python Crawler [13]: All IT eBooks Multithread Crawling

All IT eBooks Multithread Crawl - Write in front For a crawler enthusiast, there is more or less a little bit of collecting addiction - finding good pictures, finding good books, finding all kinds of things that can be stored on the computer, all like to crawl it down in batches. And then, yeah, that' ...

Added by datafan on Tue, 23 Jul 2019 16:05:46 +0300

MyBatis Executor Overview and Source Parsing

Label (Space Separation): Mybatis Actuator Overview Like tomcat, Mybatis has an executor, but not as complex as tomcat. The executor provides query, modification, transaction submission, transaction rollback, first-level cache cleaning, FlashStatement interface. An executor corresponds to a SqlSession, which is created by Configuration. Mybat ...

Added by pooker on Tue, 23 Jul 2019 05:52:06 +0300

Java Second Kill System Practical Series ~Integrating Shiro to Realize User Logon Authentication

Summary: This blog is the fifth in the series of "Java Second Kill System Actual Warfare Articles". In this blog, we will integrate the authority authentication-authorization framework Shiro to realize the user's login authentication function. It is mainly used to require users to restrict the user's login when they rush to buy goods ...

Added by marinedalek on Sun, 21 Jul 2019 10:13:20 +0300

Integration of Spring Source Parsing Mybatis

https://blog.csdn.net/heroqiang/article/details/79135500 Integration package version: 1.3.1 The use of /*/ annotation in the article will provide in-depth analysis and in-depth analysis. text First, let's look at Spring's configuration for integrati ...

Added by scott212 on Sat, 20 Jul 2019 17:03:19 +0300

session sharing based on redis 5: [research on redis 5.x cluster application]

Build a session sharing module based on spring session. Here, a redis-based cluster (Redis-5.0.3 version) is designed as a POM component, which is directly configured as dependency in the pom.xml file in order to meet the need of sharing sessions among the subsystems of the entire Internet of Things platform and facilitate the use of each subsy ...

Added by jboy6t9 on Fri, 19 Jul 2019 06:55:59 +0300

Front-end learning path HTML 5 (04) - features

HTML 5 web storage HTML 5's web storage is different from cookie storage, and its storage efficiency is better. Its data can only be accessed by the web page, and the client stores two types of data. Local Storage: Storage without time limit; Session Storage: Storage for a session. <!DOCTYPE html> <html> <head> <meta ...

Added by jefrat72 on Wed, 17 Jul 2019 02:04:00 +0300

Kafka2.0 Consumer Coordinator Source

Consumer groups and consumers Consumer groups and consumers are one-to-many relationships. Consumers in the same consumer group can consume multiple zones and are exclusive. The partition allocation policy for consumers is defined by the interface PartitionAssignor, which has three built-in allocation policies, RangeAssignor, RoundRobinAssigno ...

Added by prozad on Tue, 16 Jul 2019 19:58:49 +0300