Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
browser-history
is a simple, zero-dependencies, developer-friendly python
package to retrieve (almost) any browser's history on (almost) any platform.
browser-history --help
from your terminal.browser-history -b default
).browser-history
organization (previously maintained by PESOS) and will always be open source (with the Apache 2.0 License).To install the latest release:
pip install browser-history
To install from the master branch (warning: development version. Things could break)
pip install git+https://github.com/browser-history/browser-history.git
To get history from all installed browsers:
from browser_history import get_history
outputs = get_history()
# his is a list of (datetime.datetime, url) tuples
his = outputs.histories
If you want history from a specific browser:
from browser_history.browsers import Firefox
f = Firefox()
outputs = f.fetch_history()
# his is a list of (datetime.datetime, url) tuples
his = outputs.histories
Firefox
in the above snippet can be replaced with any of the supported browsers.WARNING: Experimental feature. Although this has been confirmed to work on multiple (Firefox and Chromium based) browsers on all platforms, it is not covered by tests and has not been used as much as the history feature.
To get bookmarks from all installed browsers:
from browser_history import get_bookmarks
outputs = get_bookmarks()
# bms is a list of (datetime.datetime, url, title, folder) tuples
bms = outputs.bookmarks
To get bookmarks from a specific browser:
from browser_history.browsers import Firefox
f = Firefox()
outputs = f.fetch_bookmarks()
# bms is a list of (datetime.datetime, url, title, folder) tuples
bms = outputs.bookmarks
Check out the documentation for more details.
Read the documentation
Logo designed with :heart: by XA.
Licensed under the Apache License, Version 2.0 (the "License")
FAQs
A python module to extract browser history
We found that browser-history demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.