It also failed in your previous commit: https://travis-ci.org/rg3/youtube-dl/jobs/8459585.
b64encode returns bytes, you must decode to get a string : `base64.b64decode(googleString).decode('ascii')`, I'm not sure since I have little experience with base64.