{"id":20878668,"url":"https://github.com/aidenellis/bookmarkparser","last_synced_at":"2026-04-14T03:32:11.132Z","repository":{"id":57698608,"uuid":"506909032","full_name":"AidenEllis/BookmarkParser","owner":"AidenEllis","description":"A Python API to go through your browser Bookmarks file DATA.","archived":false,"fork":false,"pushed_at":"2022-06-24T15:57:31.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T10:53:33.235Z","etag":null,"topics":["aidenellis","bookmarks","brave-extension","browser","chrome-extension","parser","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AidenEllis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-24T06:54:21.000Z","updated_at":"2023-09-20T11:24:59.000Z","dependencies_parsed_at":"2022-08-25T14:41:07.016Z","dependency_job_id":null,"html_url":"https://github.com/AidenEllis/BookmarkParser","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AidenEllis/BookmarkParser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FBookmarkParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FBookmarkParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FBookmarkParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FBookmarkParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AidenEllis","download_url":"https://codeload.github.com/AidenEllis/BookmarkParser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AidenEllis%2FBookmarkParser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266822265,"owners_count":23989824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aidenellis","bookmarks","brave-extension","browser","chrome-extension","parser","python"],"created_at":"2024-11-18T07:13:43.973Z","updated_at":"2026-04-14T03:32:11.093Z","avatar_url":"https://github.com/AidenEllis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://github.com/AidenEllis/Cligo\"\u003e\u003cp align=\"center\"\u003e\u003c/a\u003e\n\u003cimg src=\"https://voxelmax.com/assets/testimonial-william-santacruz.jpg\" height=\"auto\" width=\"200\" style=\"border-radius:10%\"/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eBookmark Parser - Explore Your Browser Bookmark Data 🚀\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AidenEllis/BookmarkParser/blob/main/CODE_OF_CONDUCT.md\"\u003eCOC\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"https://discord.gg/EZ3SspPZ93\"\u003eCommunity\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"#\"\u003eDocs (Below)\u003c/a\u003e\n\u003c/h3\u003e\n\n## 🎫 Introduction :\nThe main goal of BookmarkParser Module is to allow people to easily explore and play with their bookmarks' data in an \neasy-structured way with a variety of functionality.\n\n\n## ⚫ Browsers tested on: \n* `Google Chrome`\n* `Brave`\n\n### Installing BookmarkParser :\n\n`via pip (recommended) :`\n```shell\npip install BookmarkParser\n```\n\nor\n\n`via pip + github : `\n```shell\npip install git+https://github.com/AidenEllis/BookmarkParser.git\n```\n\n## 🤓 Docs:\n\nLet's import the moduele and show you along :\n\n```python\nfrom BookmarkParser import Bookmarks\n\nbookmarks = Bookmarks()\n```\n\n#### 🥨 Bookmarks class:\n* Arguments: \n  * `filepath: str`: file path of the Bookmarks file. Usually used for manually assign a file. Google it with your specific browser brand.\n  ####\n  * `browser: str`: Automatically finding your browser file path. Currently, only works with `'Chrome', 'Brave'` just pass in either of these browser name and it'll find the `Bookmarks` file.\n\n\nSetting up out Class\n\n```python\nfrom BookmarkParser import Bookmarks\n\nbookmarks = Bookmarks(browser='Chrome').setup()  # Automatic Path setup\n# or\nbookmarks = Bookmarks(filepath=\"C://File/to/somewhere/Bookmarks\").setup()  # Manual File setup\n\n```\n\nLet's actually use it\n\n```python\nfrom BookmarkParser import Bookmarks\n\nbookmarks = Bookmarks(filepath=\"C://File/to/somewhere/Bookmarks\").setup()  # Manual File insert\n\na = bookmarks.bookmark_bar  # --\u003e List\nb = bookmarks.synced        # --\u003e List\nc = bookmarks.other        # --\u003e List\n\n# These are the 3 types of ROOT Bookamarks Folder\n```\n\nyou can iterate through it\n\n```python\nfrom BookmarkParser import Bookmarks\n\nbookmarks = Bookmarks(filepath=\"C://File/to/somewhere/Bookmarks\").setup()  # Manual File insert\n\nfor bookmark in bookmarks.bookmark_bar:\n  print(bookmark) # Returns a list of Bookmarked items (urls and folders)\n```\n\n\u003e `BookmarkFolder` Attribute \u0026 Attributes Functions :\n* `name`: Name of the folder or the link\n###\n* `path`: Path to the bookmarked item e.g. \"Bookmarks/bookmarks_tab/title\"\n###\n* `url` : Returns url of the bookmarked item (different urls for folders and links)\n###\n* `datetime`: Returns the date-time of when it was added\n###\n* `children` (only available for folders) (returns urls and child folders)\n###\n* `is_folder`: Cheks the if the bookmark item is folder or not.\n###\n* `url`: Gives back the browser url of the bookmark item.\n###\n* `urls`: returns all the urls (objects) within the current folder\n\n        📂 Self (Parent)\n        ├── 📁 Child 1\n        │   └── 🔗 Link 1 ❌\n        │   └── 🔗 Link 2 ❌\n        │\n        └── 🔗 Link 3 ✔\n        └── 🔗 Link 4 ✔\n        └── 🔗 Link 5 ✔\n        └── 🔗 Link 6 ✔\n###\n* `num_urls`: Returns the total amount of urls within the current folder. (this does not contains urls from nested folders)\n###\n* `nestedUrls`: returns all the urls within the current folder and also from the nested folders.\n\n        📂 Self (Parent)\n        ├── 📁 Child 1\n        │   └── 🔗 Link 1 ✔\n        │   └── 🔗 Link 2 ✔\n        │\n        └── 🔗 Link 3 ✔\n        └── 🔗 Link 4 ✔\n        └── 🔗 Link 5 ✔\n        └── 🔗 Link 6 ✔\n###\n* `folders`: Returns all the child folders (This does not contain any nested folders)\n\n        📂 Self (Parent)\n        ├── 📁 Child 1 ✔\n        │   └── 📁 Child 1's child (1) ❌\n        ├── 📁 Child 2 ✔\n        │   ├── 📁 Child 2's child (1) ❌\n        │   └── 📁 Child 2's child (2) ❌\n        └──\n###\n* `num_folders`: Returns the total number of only child folders.\n###\n* `subfolders`: Returns all the child and its nested subfolders within the chosen directory.\n\n        📂 Self (Parent)\n        ├── 📁 Child 1 ✔\n        │   └── 📁 Child 1's child (1) ✔\n        ├── 📁 Child 2 ✔\n        │   ├── 📁 Child 2's child (1) ✔\n        │   └── 📁 Child 2's child (2) ✔\n        │       └── 📁 Child 2's child (2)'s child(1) ✔\n        └──\n###\n* `num_subfolders`: Returns the total number of subfolders (including child and nested folders)\n\n#### Here, have a cookie (づ｡ ◕‿‿◕｡) づ🍪\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenellis%2Fbookmarkparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidenellis%2Fbookmarkparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidenellis%2Fbookmarkparser/lists"}