Parsing browser bookmarks into json objects

Bookmarks exported by chrome,safari,firefox,ie I want to convert to objects in the following format

{
    "title": "title",
    "addr": "href",
    "type": "site", // folder
    "children": [] // 
}

several browsers have similar bookmark formats but some differences
find the conversion code
Baidu network disk data source

Sep.27,2021

thanks for inviting ~ I don't know what you want to unify this format. In addition, "the format of bookmarks in several browsers is similar but there are some differences." I think we should paste the corresponding code to better help others solve the problem.


Code
https://github.com/hold-baby/.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3baeb-2aff7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3baeb-2aff7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?