A Python utility to export Chromium-based browser history and downloads to various formats.
Project description
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 and data granularity, this tool provides customizable extraction options to suit different investigative or analytic 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:
histexport -i path/to/history -o output_name
- Specify output directory and formats:
histexport -i path/to/history -o output_name -d path/to/output -f csv xlsx
- Enable logging:
histexport -i path/to/history -o output_name -l
- Extract from a folder of SQLite files:
histexport -i path/to/history_folder -t folder -o output_name -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)
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for histexport-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e8549f1745185be5dd18329949b8fc6d91abbb7b626f0e472b3c40cdd1c6692 |
|
MD5 | 92bf989ffbb7e1d6fa30fe9e49cf7ed6 |
|
BLAKE2b-256 | be1ea184a4283bca711c925d0c7e03e51a9db601a7fdd8cb00a1d751fc83b350 |