Skip to content

Instantly share code, notes, and snippets.

@larsparendt
Created October 19, 2015 08:53
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save larsparendt/a67d25b1611db67ba67b to your computer and use it in GitHub Desktop.
Save larsparendt/a67d25b1611db67ba67b to your computer and use it in GitHub Desktop.
Extract TestFlight user email addresses from iTunes Connect
var text = ''; $('.col-email').each(function(index,el) { text = text + ($.trim($(el).text())+'\n' )}); var a = document.createElement("a"); var file = new Blob([text], {type: 'text/csv'}); a.href = URL.createObjectURL(file); a.download = name; a.click();
@larsparendt
Copy link
Author

  1. open the page with all your external TestFlight users.
  2. Paste the code into the dev console

@CVertex
Copy link

CVertex commented Nov 26, 2015

Hey dude, this didn't work for me :(

@vinkla
Copy link

vinkla commented Apr 14, 2016

I've updated the script to work in our use case:

var text = ''; 
$('.itc-tester-view tbody tr').each(function(index, el) { 
  var email = el.querySelector('td:nth-child(2) span:first-child').innerText;
  var name = el.querySelector('.sorted > span').innerText.split(' ');

  text = text + name[0] + ', ' + name[1] + ', ' + email+'\n';
}); 
var a = document.createElement("a"); 
var file = new Blob([text], {type: 'text/csv'}); 
a.href = URL.createObjectURL(file); 
a.download = name; 
a.click();

@ddfreiling
Copy link

This works with latest update (11/4/17) to iTunesConnect, where testers are in custom groups.
Also fetches all the testers for you, no need to paginate through them all.
https://gist.github.com/ddfreiling/a408904e6837387cd48c8a1c4d56e6fe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment