This grabs the distribution list members and email addresses, outputting them as CSV
Last active
February 26, 2020 19:32
-
-
Save ypcrts/b147dc80c133832718cd1b4118049552 to your computer and use it in GitHub Desktop.
Outlook Office 365 Distribution List to CSV Scraper
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
(function () { | |
let o = new Set; | |
document.querySelectorAll("._2POCa20x32ywlJ3tfXUEbM").forEach(row=>{ | |
const items = row.querySelectorAll('div'); | |
o.add(items[0].innerText + "," + items[1].innerText); | |
}); | |
console.log([].join.call([...o], "\n")); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment