Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bookmarks-tools/bookmarks-parser
:bookmark: Parses Firefox/Chrome HTML bookmarks files
https://github.com/bookmarks-tools/bookmarks-parser
bookmarks netscape netscape-bookmark-file
Last synced: 3 months ago
JSON representation
:bookmark: Parses Firefox/Chrome HTML bookmarks files
- Host: GitHub
- URL: https://github.com/bookmarks-tools/bookmarks-parser
- Owner: bookmarks-tools
- Created: 2018-12-28T21:03:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T05:26:02.000Z (10 months ago)
- Last Synced: 2024-08-01T21:50:04.310Z (6 months ago)
- Topics: bookmarks, netscape, netscape-bookmark-file
- Language: HTML
- Homepage:
- Size: 146 KB
- Stars: 44
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- project-awesome - bookmarks-tools/bookmarks-parser - :bookmark: Parses Firefox/Chrome HTML bookmarks files (HTML)
- jimsghstars - bookmarks-tools/bookmarks-parser - :bookmark: Parses Firefox/Chrome HTML bookmarks files (HTML)
README
# bookmarks-parser
[![Build Status](https://travis-ci.org/andriyor/bookmarks-parser.svg?branch=master)](https://travis-ci.org/andriyor/bookmarks-parser)
[![codecov](https://codecov.io/gh/andriyor/bookmarks-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/andriyor/bookmarks-parser)
[![image](https://img.shields.io/pypi/v/bookmarks-parser.svg)](https://pypi.org/project/bookmarks-parser/)
[![image](https://img.shields.io/pypi/l/bookmarks-parser.svg)](https://pypi.org/project/bookmarks-parser/)
[![image](https://img.shields.io/pypi/pyversions/bookmarks-parser.svg)](https://pypi.org/project/bookmarks-parser/)Parsing Netscape bookmark (Google Chrome, Firefox, ... export files) .
## Installation
```
$ pip install bookmarks-parser
```## Usage
```python
import pprint
import bookmarks_parserbookmarks = bookmarks_parser.parse("bookmarks.html")
pprint.pprint(bookmarks)
```
[output example](https://github.com/andriyor/bookmarks-parser/tree/master/tests/tests_data)## Development
Install [Poetry](https://poetry.eustace.io/docs/)
```
$ poetry install
```
run tests
```
$ poetry run pytest --cov=bookmarks_parser
```## License
[MIT](https://choosealicense.com/licenses/mit/)