GithubHelp home page GithubHelp logo

download_pinboard's Introduction

download_pinboard

Download your Pinboard bookmarks as webloc files with Mac OS X tags.

Setup

Create a settings file

`cp settings.py{.example,}`

with the following information

_PINBOARD_TOKEN = 'YOUR TOKEN HERE'
_SAVE_PATH = HOME + '/Bookmarks/'

In settings.py set your Pinboard token and the path where you want your bookmarks to be saved. Your token can be found at https://pinboard.in/settings/password. The path must exist where you save your bookmarks and must end with a traling /.

Running the script

To start the script, you can simply do

python main.py

By default, the script will only download new bookmarks from the last time the script was run.

Optional arguments

-v, --verbose Shows output as stdout
--reset [optional num of days] Resets your last updated time. If you don't specifiy a number, it will reset to 10000 days.
-t Filters the bookmarks you want to download by tag. You can pass multiple -t tags, but no more than 3. Multiple tags are AND not OR
--skip-update Lets you bypass the last downloaded time. Nice for redownloading everything.

Notes

2014-12-23

  • I don't have a lot of bookmarks (~150) and so I don't know what Pinboard will do if you request a ton of bookmarks for the initial download. If you have a lot of bookmarks and hit any weird errors, please let me know.

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.