Useful python scripts for administrative functions.
- git: https://git-scm.com/downloads
- Python 3: https://www.python.org/downloads/
- virtualenv: http://docs.python-guide.org/en/latest/dev/virtualenvs/
- Install git, Python 3, and virtualenv.
- Go to preferred workspace directory, e.g. ~/projects
- virtualenv --python python3 --prompt presterity- venvs/presterity
- source venvs/presterity/bin/activate
- git clone git@github.com:presterity/py-script
- cd py-script
- pip install -r requirements.txt
This script uses the Raindrop API to retrieve all the bookmark data for a particular collection. By default, the bookmarks from the Presterity collection are extracted. The retrieved data is written as JSON to stdout or to a file along with metadata about the extract itself. Run with -h for usage.
This script uses the Wayback Machine to archive all of the bookmarks from a particular raindrop collection. By default, the bookmarks from the Presterity collection are archived. The archived URLs are written as JSON to stdout or to a file. Run with -h for usage.
General-purpose API for retrieving bookmarks from the Raindrop API
General-purpose API for accessing the Wayback Machine