Article Directory
Write in front
Because I am currently learning python crawler, I need to use cookies and user-agent in many places. I write this article to clearly talk about how to view cookies and user-agent.
Specific steps
1. Open the browser arbitrarily
Here I take Google as an example to find a website, such as CSDN.
2. Enter the developer tools
You can manually click the three dots in the upper right corner to find and open the developer tools in more tools, or you can press F12 (Fn+F12 on some laptops) to enter the developer tools.
3. Click Network, find Doc
Find Network and click, and then we found a blank article after entering the doc.
4. The most amazing step
It doesn't matter if you are blank, haha, just refresh the page gently.
The refreshed page is as shown in the figure above. We only need to click on the url under name, and both cookies and user-agent can be found (as shown in the figure below).
At the end of this article, please point out any errors~