Pep8

This pull request mainly handle unicode in url (the branch is not well named....). 
Some pep8 improvement are also include.