Sometimes there is problem with error:
UnicodeEncodeError: 'ascii' codec can't encode character u' in urlencode
This hopefully fixes it.