Metadata-Version: 2.1
Name: firefox-bookmark-extractor
Version: 1.0.0
Summary: Firefox Bookmark Extractor can be used to extract urls from Firefox bookmarks. Scripts taps to Firefox's internal database and extracts data from required bookmark path.
Home-page: https://github.com/uuksu/firefox-bookmark-extractor
Author: Mikko Uuksulainen
Author-email: mikko.uuksulainen@uuksu.fi
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: argparse (>=1.4.0,<2.0.0)
Project-URL: Repository, https://github.com/uuksu/firefox-bookmark-extractor
Description-Content-Type: text/markdown

# Firefox Bookmark Extractor

Firefox Bookmark Extractor can be used to extract urls from Firefox bookmarks. Scripts taps to Firefox's internal database and extracts data from required bookmark path.

## Installation

Firefox Bookmark Extractor can be installed from PyPI using `pip` or your package manager of choice:

```
pip install firefox-bookmark-extractor
```

## Usage

You can use Firefox Bookmark Extractor as CLI tool with `firefox-bookmark-extractor` command.

Example:

```console
$ firefox-bookmark-extractor -r "/home/me/.mozilla/firefox/ld84jfm4.default-release" "Bookmark Bar/Favourites/Songs"
https://www.youtube.com/watch?v=dQw4w9WgXcQ
https://www.youtube.com/watch?v=xaazUgEKuVA
https://www.youtube.com/watch?v=TzXXHVhGXTQ
```

* First parameter is path to Firefox profile directory. This directory contains 'places.sqlite' database.
* Second parameter is path inside Firefox bookmark hierarchy excluding root directory.
* -r/--recursive parameter can be used to extract urls also from directories under the target path.
