add urllib.quote() to try to fix the not authenticate error
all fixed