How to view html source code and other web page information

Open a webpage, F12 or right mouse button -> inspect element.
inspect element
Go to the tree structure to expand the label you want to find and search slowly, put it on the label, and the corresponding part will be highlighted, for example, the
corresponding display
default review element in the figure below shows elements, and you can click to open it if you want to see other content. For example, the easter egg network and elements of Zhihu console
Zhihu easter eggs
are the main parts that crawlers need to view

Google Translate
Click any item under a name to view headers, cookies and other information
insert image description here
In order to deal with the anti-crawler mechanism, crawlers sometimes need to set headers and cookies

Guess you like

Origin blog.csdn.net/qq_36376711/article/details/86679266