Skip to content

Instantly share code, notes, and snippets.

View amicalmant's full-sized avatar
🏠
Working from home

Christian Aubry amicalmant

🏠
Working from home
View GitHub Profile
@PiotrKrzyzek
PiotrKrzyzek / bitly_to_yourls.py
Created June 3, 2016 23:37
Migrate Links From Bit.LY To Your YOURLS Install
#! /usr/bin/python
#Simple script for importing data from bitly to yourls using bitly and yourls API.
import urllib2, json, urllib
#Add the following data
yourls_host = 'your-domain-where-yours-is-installed.com'
bitly_token = 'your-bitly-token'
yourls_signature = 'your-yourls-signature-key'