Getting started with Python crawler 3: Use Google browser to get http information of website visits

☞ ░Go to LaoYuanPython blog https://blog.csdn.net/LaoYuanPython

1. Open developer tools

For simple processing, the content introduced this time is based on the situation that the website has been logged in to get the http information of the webpage visit.
First, you need to use Google Chrome to log in to the specified website and visit the web page that needs to be crawled. For example, Lao Yuan uses Google Chrome to log in to csdn and visit LaoYuan Python's homepage: https://blog.csdn.net/LaoYuanPython.
After the web page content is displayed, press F12 to call up the developer tools. By default, the developer tools will be displayed in the overlay window on the right side of the current web page, as shown in the yellow marked area:
Insert picture description here

The window may also appear on the left and bottom, but this mode is not very convenient to use. You can click the three vertical dots marked in blue in the upper right corner of the figure above, and select: the first option in Dock side (window appears position) as follows:

Guess you like

Origin blog.csdn.net/LaoYuanPython/article/details/113055084