Foreword: Use requests to crawl the first and second level comments of bilibili comment area and save them in mysql database or csv file
Target data: Name, gender, user rating, user uid, personalized signature, comment time, content, compliment, reply, rpid
Case Video: School started ~I finally received an acceptance letter from Hogwarts _Bel ...
Added by rskandarpa on Sat, 25 Sep 2021 20:05:45 +0300
Previously, I wrote a basic case of reptile --- introduction to glory heroes and skills of crawling king
python crawler ------ King glory hero and skills crawl and save information to excelhttps://blog.csdn.net/knighthood2001/article/details/119514336?spm=1001.2014.3001.5501 Sharp eyed people can find that the data they climb is incomplete (he ...
Added by johnsworld on Fri, 24 Sep 2021 11:57:54 +0300
Before we explain our crawler, we will first outline the simple concept of crawler (after all, it is a zero foundation tutorial)
Web crawler (also known as web spider, web robot) is a program that simulates the browser to send web requests and receive request responses. It is a program that automatically grabs Internet information acc ...
Added by kfir91 on Tue, 21 Sep 2021 02:25:17 +0300
This article demonstrates how to use Selenium to crawl the account information of the treasure Pavilion (number of generals, name of generals, number of tactics, number of treasures, price, number of collections, etc.) of the land of lead. Because different information needs various clicks to obt ...
Added by kumarsatishn on Sat, 11 Sep 2021 09:20:49 +0300
Selenium case exercise
1. Crawl cat's eye movie data
Use selenium to crawl the top 100 of cat's eye, the ranking, film name, starring, release time and score of each film.
By analyzing the page structure, select the appropriate access point. selenium can directly check the page without analyzing whether the ...
Added by timj on Sun, 05 Sep 2021 05:32:03 +0300
hello everyone! I'm Lin hero
You know which is the hottest mobile game at present. Yes, it is the glory of the king. This mobile game must have been heard or played by everyone. There are 106 heroes and hundreds of hero skins. Today I'll teach you to climb down hundreds of skins.
Python built-in function zip
Added by cuvaibhav on Fri, 03 Sep 2021 03:46:08 +0300
1. Basic Operation of Files
def open(file, mode='r', buffering=None, encoding=None, errors=None, newline=None, closefd=True):
open file1 = open('demo1.txt','r')
operation file1.write('Hello Python !')
Open, operate, close within a structure (automatically close when finished) with open ...
Added by zorgon on Thu, 02 Sep 2021 20:00:46 +0300