Giter Club home page Giter Club logo

d-web-browser-history's People

Contributors

workhorsy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

d-web-browser-history's Issues

Can't retrieve any url on windows

I'm not quite sure if it's the proper place to post it, I'm not much of active user on GitHub... if it's not you can just delete it.

My issue is: I've installed it with dub package but I can't retrieve anything. It only prints the paths where the history file is located, for example:

path: C:\Users\user1\AppData\Roaming/brave/History
path: C:\Users\user1\AppData\Default\History
path: C:\Users\user1\AppData\Roaming/Mozilla/Firefox/Profiles\xg0d1b6k.default\places.sqlite

NOTE: I noticied the that path concatenation uses \ and /, Windows accepts it, as far I know, but so does the Sqlite3 database engine you're using? as far I remembe, from the very first time I've used Sqlite3 I read somewhere all the slashs must be UNIX's /, even if you were on Windows environment.

the code I'm using is:

	import web_browser_history;
	import std.stdio : stdout;
	import derelict.sqlite3.sqlite : DerelictSQLite3;

	DerelictSQLite3.load();
	foreach (browser; web_browser_history.getInstalledBrowsers()) {
		web_browser_history.readHistory(browser, delegate(string url, int visit_count) {
			stdout.writefln("browser:%s, url:%s, count:%s", browser, url, visit_count);
		});
	}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.