Coder Social home page Coder Social logo

barbero's Introduction

barbero

Gather history files from browsers.

Features

Generate csv files from the history files of the browsers:

* Chromium
* Falkon
* Firefox
* Opera

On Linux only, for now, but porting to other platforms and browsers should be straightforward.

Does not depend on any external package, no installation needed, just clone and hack:

git clone https://github.com/giannifer7/barbero.git
cd barbero
./history.py > history.csv

There are 3 executable scripts that write a csv to the standard output:

* history.py
* pages.py
* sites.py

history.py

Print some fields common to all browsers' histories

Usage: ./history.py > history.csv

The csv fields are:

* idx: int  # progressive index
* browser: str  # browser name
* bid: int # id in the specific browser history
* date: datetime # last visit datetime
* url: str
* title: str
* xcount: int # visit count

pages.py

Visited pages in decreasing order of visit counts.

Usage: ./pages.py > pages.csv

The csv fields are:

* the visit count
* the url

sites.py

Visited sites in decreasing order of visit counts.

Usage: ./sites.py > sites.csv

The csv fields are:

* the visit count
* the url

TODO

* tests
* documentation
* more platforms
* more browsers

WARNING: the history databases are copied into the work_dir directory, keep it private or clean it after use.

The project is named after the famous italian historian Alessandro Barbero.

barbero's People

Contributors

giannifer7 avatar

Watchers

 avatar

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.