Getting started with python crawler
The basic steps of the crawler: get the url, parse the web page and find the required content; data processing; save.
Knowledge points:
(1) generally, the url of the same type of web page has certain rules, so you need to pay attention to observation when crawling, such as scenic spots
Second pages: https://travel.qunar.com/p-cs ...
Posted by e7gaskell on Mon, 25 Nov 2019 10:59:02 -0800
Notes on the process of web assembly engineering development based on rule
Initialization project
$ npm init rust-webpack web_assembly_demo
npx: 18 Installation successful, time 3.989 second
Rust + WebAssembly + Webpack = ️
Installed dependencies
Install Web dependency
$ yarn
yarn install v1.19.1
warning package.json: No license field
info No lockfile found.
warning package-lock.json found. Your project contains lo ...
Posted by gmiyano on Mon, 25 Nov 2019 10:30:48 -0800
JAVA recursively generates tree menu
Recursively generate a Menu as shown in the figure, write two class data model menus, and create a tree menuitree. This is achieved through the following process:
1. First get all root nodes from the menu data.
2. Establish secondary subtrees for root nodes and splice them.
3. Recursively establish a secondary subtree for the child node and ...
Posted by engkeb0i on Mon, 25 Nov 2019 08:10:01 -0800
Spring Boot: Spring Doc Generates OpenAPI 3.0 Documents
1. Overview
The company is currently documenting the project, and documentation is critical to building the REST API.In this article, I will introduce Spring Doc, a tool that simplifies the generation and maintenance of API documents for Spring Boot 1.x and 2.x applications based on the OpenAPI 3 specification.
2. Set up springdoc-openapi
If yo ...
Posted by polybiosis on Sun, 24 Nov 2019 17:54:50 -0800
From getting started to mastering the custom Response of the Flask framework
Knowledge points:
1. User defined response information
2. Return to Json
I. General Situation
We all know that when a browser makes a request, the server will give a response. This response includes the returned content type, status code, server version, etc. The following picture:
If we don't modify the response information ...
Posted by qadeer_ahmad on Sun, 24 Nov 2019 13:35:54 -0800
Write Visual Studio Code syntax highlighting plug-in for new language on December 24, 2017
Source library of this article: program-in-chinese/quan4-highlighter
Syntax highlighting is a basic function of a development environment. This paper attempts to use the previous "circle 4" language (see details The implementation of "cycle 4" by Antlr4+JavaScript in programming language experiment )Write a highlighted plug- ...
Posted by shae marks on Sun, 24 Nov 2019 09:45:47 -0800
Using Alibaba cloud Serverless function calculation to realize HTTP health check + fault SMS notification
Application scenario
Regularly request the website / API, judge whether the service is available and whether the website is down according to the request response, and send a SMS to inform the administrator when there is a down time
engineering service
Operation platform: Alibaba cloud functional computingDevelopment language: Python 3 (small f ...
Posted by fellixombc on Sun, 24 Nov 2019 07:56:44 -0800
addEventListener custom event in JavaScript
addEventListener custom event in JavaScript
In js events, we first think of the common events such as click, dblclick, mouseover, mouseout, mouseenter, mouseleave, mousedown, mouseup, mousemove, wheel, context menu (when we click the right mouse button). Sometimes these predefined events can not meet our needs when we provide sdk for the third ...
Posted by jack5100nv on Sun, 24 Nov 2019 07:56:54 -0800
A perfect solution for sharing web links to wechat friends with icons and summaries
First look at the effect:
I don't like paper clips.
In the past, I only put an invisible picture at the beginning of the web page, but later I found it had no effect.
Now let's start:
Raw materials: GetwxLink
WeChat public address:
Step 1: bind domain name
First login WeChat public platform into the "pub ...
Posted by hermes on Sat, 23 Nov 2019 12:36:23 -0800
Girls of tremolo girls want to crawl and watch with Python
Preface
Text and pictures of the text come from the network for learning and communication purposes only. They do not have any commercial use. Copyright is owned by the original author. If you have any questions, please contact us in time for processing.
Author: Star Ango, AirPython
PS: If you need Python learning materials for your child, clic ...
Posted by Twentyoneth on Fri, 22 Nov 2019 22:41:12 -0800