Created
October 19, 2015 08:53
-
-
Save larsparendt/a67d25b1611db67ba67b to your computer and use it in GitHub Desktop.
Extract TestFlight user email addresses from iTunes Connect
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
Author
larsparendt
commented
Oct 19, 2015
- open the page with all your external TestFlight users.
- Paste the code into the dev console
Hey dude, this didn't work for me :(
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();
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