Last active
August 29, 2015 14:21
-
-
Save Villanuevand/9214b0c3a2f34419ebb2 to your computer and use it in GitHub Desktop.
Snippet que obtiene información de los miembros de la comunidad en Google Groups.
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
/** | |
* Pequeño snippet para obtener direcciones de correo electrónico | |
* de miembros en Google Groups, desde la vista "Todos los Miembros". | |
*/ | |
var c = document.getElementsByClassName('gdf-tableRow'), | |
members = []; | |
for(var i = 0; i< c.length; i++){ | |
var o = {}; | |
o.name = c[i].childNodes[1].textContent; | |
o.email = c[i].childNodes[3].textContent; | |
members.push(o) | |
} | |
// Mostrando la data extraida. | |
console.log(members); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment