Python crawler, using beautifulsop to parse page results

Python crawler, you can easily parse the page results by using beautiful soup. Here is the position information of the boss page using this method: including position name, salary, location, company name, company financing and other information. With this example, you can easily see how to use beautifulsop. import requests from bs4 import Beau ...

Posted by dibyajyotig on Fri, 01 Nov 2019 13:19:46 -0700

Making WIFI version of intelligent socket easily -- Software

Refer to the first part for hardware construction: https://blog.csdn.net/qq_34472145/article/details/94561226 I. Preface In the previous part, the socket receives messages from MQTT server, while the server receives instructions from APP and converts them into customized messages and sends them to WiF ...

Posted by stelthius on Wed, 30 Oct 2019 12:22:15 -0700

From Delphi to Go - List

The most basic list in Delphi is TList class and TList < T > generic class, as well as thread safe TThreadList class and TThreadList < T > generic class. The underlying implementation is array. Go uses the container/list package, and the internal implementation is a two-way linked list. Delphi TList In TList, there is a pointer. Whe ...

Posted by fredi_bieging on Wed, 30 Oct 2019 11:27:29 -0700

Super detailed: summary of six common design patterns

Singleton mode Simply put, in an application, there is only one instance object of a class. You can't go to new because the constructors are decorated by private. Generally, they get their instances through getInstance(). The return value of getInstance () is a reference to an object, not a new instance, so don't misunderstand it as multiple ob ...

Posted by xzilla on Wed, 30 Oct 2019 03:33:22 -0700

By far the most complete spring boot parameter transfer scheme in the whole network

Preface After so many years of development, there must be a lot of small partners who can't figure out how to transfer various types of parameters. Many students are just using them and copying and pasting them. They are still confused when they encounter problems. posture Learn the correct posture of parameter transfer, first say how to ...

Posted by Owe Blomqvist on Tue, 29 Oct 2019 20:53:10 -0700

An image view loading long graph for Android

Some apps may make a lot of content into a high-definition picture to the mobile terminal for loading (our project is...), if the picture is small, it's OK, but if the picture is too large (we have more than 2M, MMP), it's either not displayed, or it's not always fuzzy. So what should we do? Use BitmapRegionDecoder to segment and then splice th ...

Posted by Tezread on Tue, 29 Oct 2019 14:02:51 -0700

Opentracing + Uber Jaeger full link gray call chain, Nepxion Discovery

When the gateway and service are implementing the whole link distributed gray-scale publishing and routing, we need a tracking system to monitor which gray-scale group, which gray-scale version, which gray-scale area the gateway and service are going through, and even monitor the gray-scale rules and routing strategies that are passed from the ...

Posted by julieb on Mon, 28 Oct 2019 22:50:44 -0700

Kotlin Foundation: generics

Why generics Efficiency, cost Reduce template code writing Classification of generics Generic class generic method Keywords of generics 3.1 T T represents any type, which can be any string, generally: T, U, S, E, K, V. T, U, S: any type E: element type of collection K, V: key and value types of Map 3.2 out Wildcard, equivalent to Java's & ...

Posted by curtm on Mon, 28 Oct 2019 20:56:20 -0700

token backend parsing after jwt authentication generation

First, the front end sends the token The location of token headers {'authorization': value of token ', content type': application / JSON} Write in ajax //Show only part of the headers code headers:{"authorization":this.$cookies.get("token")} //token value is usually put in cookies //The default is json format. You don't need to declare js forma ...

Posted by marklarah on Mon, 28 Oct 2019 07:05:12 -0700

QCustomplot drawing chart with sharing - multi function cursor

Catalog I. overview II. Renderings III. source code explanation 1. Source code structure 2. Header file 3. Add cursor 4. Monitoring movement 5. Move cursor 6. Other functions IV. test method 1. Test project 2. Test documents 3. Test co ...

Posted by burningkamikaze on Sat, 26 Oct 2019 13:07:47 -0700