Scrapy self built IP proxy pool

This blog will realize Worry free agent and National Agency To access and save to Redis database. The anti crawling measures of worry free agent mainly lie in the inconsistency between the port of the page and the port number of the source code. The reason for the inconsistency is that there is js ...

Posted by kneifelspy on Mon, 16 Mar 2020 06:53:05 -0700

Day 31 of learning Java -- byte stream of IO framework

Concept of stream, classification of stream, byte stream, serialization 15. I/O framework 15.1 concept of flow 15.2 classification of flows 15.2.1 flow classification (direction) 15.2.2 flow classification (unit, function) 15.3 byte stream 15.3.1 parent class of byte stream 15.3.2 byte node strea ...

Posted by kenrbnsn on Mon, 16 Mar 2020 06:44:14 -0700

Transition & Animation of Vue

Transition & Animation of Vue transition When Vue inserts, updates, or removes DOM, it provides a variety of application transition effects. Vue provides a built-in transition encapsulation component that wraps the components to achieve the transition effect. Grammatical format <transition ...

Posted by gmann001 on Mon, 16 Mar 2020 05:07:01 -0700

Python novice crawler 3: crawling PPT template

Crawling website: first PPT( http://www.1ppt.com/ )This website really has a conscience As always, start with the last successful source code: import requests import urllib import os from bs4 import BeautifulSoup from fake_useragent import UserAgent def getPPT(url):      f = requests.get(url,headers=headers)   #Send out GET request      f.enc ...

Posted by accident on Sun, 15 Mar 2020 22:43:42 -0700

Solve the problem that ajax can't move forward, backward or refresh

Solve the problem that ajax can't move forward, backward or refresh Scenario Description: At present, the front and back end basically realize the interaction of front and back interface data through ajax, but ajax has a small disadvantage, that is, it does not support the browser "back" and ...

Posted by Chris-the dude on Sun, 15 Mar 2020 20:09:04 -0700

Python 3 standard library: tempfile temporary file system object

1. tempfile temporary file system object It is very difficult to create a temporary file with unique name safely to prevent it from being guessed by the person who is trying to destroy the application or steal the data. tempfile module provides multiple functions to create temporary file system resources safely. TemporaryFile() opens and return ...

Posted by Patrick on Sun, 15 Mar 2020 19:17:23 -0700

The usage of:: before:: after in css

I. Introduction : before and:: after are pseudo elements. (in CSS3, in order to distinguish them from pseudo classes, pseudo elements are written with double colons. However, due to compatibility issues, most of them are now unified single colons, such as: first line,: first letter,: before,: after, e ...

Posted by tonga on Sun, 15 Mar 2020 04:30:45 -0700

vue entry notes (entry notes for novices)

Vue Day 02 Article directory Vue Day 02 1, ES6 syntax supplement 1.1.let/var (define variable) 1.2.const 1.3. Object enhanced writing 2, Event monitoring 3, Condition judgment 3.1.1. Introduction to if basic syntax 3.1.2. case 3.1.3. Use of v-show 4, Loop traversal 4.1.1. Loop through array 4. ...

Posted by runestation on Sun, 15 Mar 2020 03:16:35 -0700

How to use AbpSettings gracefully

Although it's convenient to use the configuration in Abp, it's a troublesome thing to define the key in each configuration first, define it in the provider, and then use the key to get it from ISetting, The most important thing is to get changes. For example, to modify user configuration, it is more difficult to get a batch of key/value to retu ...

Posted by klaibert26 on Sun, 15 Mar 2020 01:51:36 -0700

C ා object oriented programming class concept and design details

1, The basis of object-oriented programming 1.1 object oriented programming (1) What is object-oriented programming In C language, the designed application program is too single, because all the functions are contained in several or even one code block, which can only serve a single program. There ...

Posted by grglaz on Sat, 14 Mar 2020 21:09:55 -0700