BookmarksManager.Chrome 2.0.0

Chrome bookmarks reader

Library for handling Chrome bookmarks. Supports reading from Chrome bookmarks file and JSON from Chrome API

Install-Package BookmarksManager.Chrome -Version 2.0.0
dotnet add package BookmarksManager.Chrome --version 2.0.0
paket add BookmarksManager.Chrome --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
var bookmarksFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Google\\Chrome\\User Data\\Default\\Bookmarks");
using (var file = File.OpenRead(bookmarksFilePath))
{
   var container = _reader.Read(file);
   foreach (var b in container.AllLinks.Where(l=>l.LastVisit < DateTime.Today))
   {
     Console.WriteLine("Type {0}, Title: {1}", b.GetType().Name, b.Title);
   }
}
var bookmarksFilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "Google\\Chrome\\User Data\\Default\\Bookmarks");
using (var file = File.OpenRead(bookmarksFilePath))
{
   var container = _reader.Read(file);
   foreach (var b in container.AllLinks.Where(l=>l.LastVisit < DateTime.Today))
   {
     Console.WriteLine("Type {0}, Title: {1}", b.GetType().Name, b.Title);
   }
}

Release Notes

Ported to netstandard1.6;
Fixed timestamp parsing;

Version History

Version Downloads Last updated
2.0.0 147 12/20/2018
1.0.1 1,291 7/22/2014
1.0.0 340 7/22/2014