browser-history
is a simple, zero-dependencies, developer-friendly python
package to retrieve (almost) any browser's history on (almost) any platform.
pip install browser-history
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.
Read the documentation
Licensed under the Apache License, Version 2.0 (the "License")