def SetUserAgent(self, user_agent):
    self._request_headers['User-Agent'] = user_agent
Finds the token string (and scopes) after the browser is redirected.
dataset/ETHPy150Open livid/v2ex/twitter/twitter.py/Api.SetUserAgent--crossover with--dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/auth_sub_string_from_url