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: about 14 hours 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T05:26:02.000Z (about 1 year ago)
- Last Synced: 2024-08-01T21:50:04.310Z (9 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
[](https://travis-ci.org/andriyor/bookmarks-parser)
[](https://codecov.io/gh/andriyor/bookmarks-parser)
[](https://pypi.org/project/bookmarks-parser/)
[](https://pypi.org/project/bookmarks-parser/)
[](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/)