def oauth_token_info_from_body(http_body):
  token = None
  token_secret = None
  for pair in http_body.split('&'):
    if pair.startswith('oauth_token='):
      token = urllib.unquote(pair[len('oauth_token='):])
    if pair.startswith('oauth_token_secret='):
      token_secret = urllib.unquote(pair[len('oauth_token_secret='):])
  return (token, token_secret)
save NLMSA downloader / builder objects for a set
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/oauth_token_info_from_body--crossover with--dataset/ETHPy150Open cjlee112/pygr/pygr/apps/catalog_downloads.py/save_NLMSA_downloaders