In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how to use Python to simply analyze the web browsing records of Chrome browsers. I think it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.
Use Python to briefly analyze the web browsing records of Chrome browsers, and let's have fun together.
Development tool Python version: 3.6.4 related modules:
Pyecharts module
Wordcloud module
And some modules that come with Python.
* * DB.Browser version: * * 3.11.0
Environment building
About python:
Install Python and add it to the environment variable, and pip installs the relevant modules you need.
About DB.Browser:
Download address:
Https://github.com/sqlitebrowser/sqlitebrowser/releases
It is recommended that you download the installation-free version (the installation-free version is also available in the relevant documents).
Brief introduction of principle
The web browsing history of Chrome browsers is generally kept in:
C:\ Users\ AppData\ Local\ Google\ Chrome\ UserData\ Default\ history
Open it with DB.Browser and find that the tables related to historical browsing history are urls and visits:
Open and observe the structure of the table:
Once we understand the structure of the table, we can happily write code to extract the history browsing history:
Simply visualize the obtained data, and the results are as follows:
The above is how to use Python to simply analyze the web browsing records of Chrome browsers. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.