简体   繁体   English

如何在 C# 代码中获取谷歌浏览器书签

[英]How to get google chrome bookmark in C# Code

I have marked so many website as bookmark in google chrome.Is it possible to get content of bookmark (name,url etc) in C# Code.Actually my requirement is get bookmark from C# code and then export it in Excel file. I have marked so many website as bookmark in google chrome.Is it possible to get content of bookmark (name,url etc) in C# Code.Actually my requirement is get bookmark from C# code and then export it in Excel file.

Chrome stores the bookmarks in the following file C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\bookmarks Chrome 将书签存储在以下文件 C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\bookmarks

This file is a JSON file so you can use a JSON parser like Json.NET to open it and process the entries as you prefer.此文件是 JSON 文件,因此您可以使用 JSON 解析器(如Json.NET )打开它并根据需要处理条目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM