History Exporter
Table of Contents
Introduction
HistoryExtractor is a Python utility aimed at exporting Chromium-based browser history and downloads data to various formats such as CSV, XLSX, and TXT. Designed with a focus on user flexibility, this tool provides customizable extraction options to suit different needs.
Prerequisites
- Python 3.7+
Installation
Method 1: Using pip
You can install histexport directly using pip:
pip install histexport
Method 2: From GitHub Repository
- Clone the GitHub repository.
git clone https://github.com/darkarp/histexport.git
- Navigate to the project directory.
cd histexport
- Install the required Python packages.
pip install -e .
Either of these methods will install the required Python packages and make histexport available for use.
Usage
Command Line Interface
- Basic extraction of URLs and Downloads in
txt:
histexport -i path/to/history/history_file -o output_file
- Specify output directory and formats:
histexport -i path/to/history/history_file -o output_file -d path/to/output -f csv xlsx
- Enable logging (
-l):
histexport -i path/to/history/history_file -o output_file -l
- Extract from a folder of SQLite files:
histexport -i path/to/history_folder -t folder -o output_file -d path/to/output -f csv xlsx -e urls downloads
Arguments
-i,--input: Path to the SQLite history file. (required)-t,--type: Type of the input: file or folder. Default is file-o,--output: Base name for output files. (required)-d,--dir: Output directory. (optional, default is./)-f,--formats: Output formats (csv, xlsx, txt). (optional, default istxt)-e,--extract: Data to extract (urls, downloads). (optional, default is both)-l,--log: Enable logging. (optional, default is disabled.-l 1: CRITICAL-l 2: ERROR-l 3: WARNING-l 4: INFO-l 5: DEBUG
-v,--version: Show version.
Data Extraction
The tool allows extraction of:
- URLs: Fetches
URL,Title,Visit_Count, andLast_Visit_Time. - Downloads: Extracts
Target_Path,Start_Time,End_Time,Total_Bytes,Received_Bytes, andURL.
Output Formats
You can export the data into:
- CSV
- XLSX (Excel)
- TXT (Pretty printed text file)
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Metadata
Release files for histexport 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| histexport-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / histexport-0.3.0-py3-none-any.whl
| Download URL | histexport-0.3.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fd8268d8a76d83648ba25845fc4dec40446ed07523fbb5117b3e714736c1135
|
|
BLAKE2b-256 checksum How to use checksums |
4be593b13f8cab5b3c8dabc52f196af278bdfbab0d012848778b9754269c0ae2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|