Skip to content

Instantly share code, notes, and snippets.

@diaraujo13
Created February 23, 2018 12:13
Show Gist options
  • Save diaraujo13/27fef7a5261d56c0187fba8997e9cba4 to your computer and use it in GitHub Desktop.
Save diaraujo13/27fef7a5261d56c0187fba8997e9cba4 to your computer and use it in GitHub Desktop.
bgp.he.net scrap
var firstRow = document.querySelectorAll("#search > table > tbody > tr");
var length = firstRow.length,
index = 0,
data = '';
for(;index<length;index++)
data += "\n" + firstRow[index].children["0"].children["0"].textContent;
console.log(data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment