# 浏览器书签解析器 **Repository Path**: nxqf/browser-bookmarks-parser ## Basic Information - **Project Name**: 浏览器书签解析器 - **Description**: 谷歌、火狐浏览器书签导出文件格式化JSON数据输出 - **Primary Language**: Python - **License**: MIT - **Default Branch**: chrome - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-04-30 - **Last Updated**: 2024-04-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Bookmarks 浏览器书签解析 #### 介绍 > 浏览器书签解析 \ > 浏览器导出html文件内容解析为JSON数据 *谷歌浏览器、火狐浏览器均可适用,其余浏览器未测试 #### 环境 - python >= 3.* - pip - python-venv - beautifulsoup4==4.9.3 - html5lib==1.1 - pkg-resources==0.0.0 - six==1.16.0 - soupsieve==2.2.1 - webencodings==0.5.1 #### 安装 > 创建虚拟环境 ```shell python3 -m venv service ``` > 激活环境 ```shell source service/bin/activate ``` > 部署环境 - 安装依赖环境 ```shell (service) $ pip install -r requirements.txt ``` - 更新环境依赖 ```shell (service) $ pip freeze >requirements.txt ``` > 退出环境 ```shell (service) $ deactivate ``` #### 文件说明 ```angular2html |- Core |- httpMain.py # web版本接口,实现post请求解析文件 |- fileMain.py # 文件版本,直接解析 ```