/browser-history

A simple, zero-dependencies, developer-friendly Python package to retrieve web browser history

Primary LanguagePythonApache License 2.0Apache-2.0

browser-history

tests Documentation Status PyPI version codecov

browser-history is a simple, zero-dependencies, developer-friendly python package to retrieve (almost) any browser's history on (almost) any platform.

Quick Start

Installation

pip install browser-history

Usage

To get history from all installed browsers:

from browser_history import get_history

outputs = get_history()

his = outputs.get()
  • his is a list of (datetime.datetime, url) tuples.

If you want history from a specific browser:

from browser_history.browsers import Firefox

f = Firefox()

his = f.fetch().get()
  • Firefox in the above snippet can be replaced with any of the supported browsers.
  • his is a list of (datetime.datetime, url) tuples.

Check out the documentation for more details.

Supported Browsers

Read the documentation

License

Licensed under the Apache License, Version 2.0 (the "License")