BookmarksManager.Chrome 2.0.0

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
<PackageReference Include="BookmarksManager.Chrome" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
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;

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.0 872 12/20/2018
1.0.1 1,538 7/22/2014
1.0.0 570 7/22/2014