Git Product home page Git Product logo

chrome-bookmarks.py's Introduction

Installation

$ [sudo] pip install chrome-bookmarks

Features

OS path
Linux ~/.config/google-chrome/Default/Bookmarks
macOS ~/Library/Application Support/Google/Chrome/Default/Bookmarks
Windows ~\AppData\Local\Google\Chrome\User Data\Default\Bookmarks

Examples

import chrome_bookmarks

for folder in chrome_bookmarks.folders:
    print(folder.name)
    print(folder.folders)
for url in chrome_bookmarks.urls:
    print(url.url, url.name)

readme42.com

chrome-bookmarks.py's People

Contributors

andrewpetrochenkov avatar josxa avatar

Stargazers

 avatar Ashish avatar João Palmeiro avatar Zheng Rui avatar Janos avatar hyperoot avatar Johnathon Stone avatar fishyer avatar Ayton Meintjes avatar  avatar Eduardo Cartre avatar Martin Hepp avatar Daniel Jahn (dahn) avatar Sagitav Sagitov avatar :) avatar  avatar Dr. Renard Sc.D avatar Daniel Bastos avatar Agustín avatar  avatar JC avatar Arbal avatar Dimitry Diatlov avatar Phùng Xuân Anh avatar DC avatar Gurumurthi V Ramanan avatar Peter F avatar Troy Davis avatar eg avatar Umemiya avatar  avatar tamago324 avatar Ankush Agarwal avatar Justin avatar Scott Sharkey avatar

Watchers

James Cloos avatar  avatar Euripedes Santos avatar

chrome-bookmarks.py's Issues

Passing in a bookmarks path results in error

When the Bookmarks class is initialized with a path of a bookmarks file, it still picks up the default path in the process_roots function, resulting in FileNotFoundError: [Errno 2] No such file or directory:

To resolve this, both line 69 and 77 in chrome-bookmarks.py/chrome_bookmarks/init.py / should be changed from
with open(path, encoding="utf-8") as f:
to
with open(self.path, encoding="utf-8") as f:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.