2to3

Hey,

Not sure why your code is not compatible with python3. Anyway I ported it mostly using 2to3, and some manual changes, and tested some basic features like login, and get.

I'll be using python3, and will try to fix issues if I encounter any.

Cheers,
Adrin.