Last active
June 28, 2024 14:35
-
-
Save idkrn123/3d7c8db221894668efad62a113555911 to your computer and use it in GitHub Desktop.
run in console - grabs domain names from table. (i'm using this along with gpt for an experiment in automated domaining :^D)
This file contains hidden or 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
let rows = document.querySelectorAll('.base1 tbody tr'); | |
let domains = []; | |
for (let row of rows) { | |
let domain = row.querySelector('.field_domain a').textContent; | |
domains.push(domain); | |
} | |
console.log(domains.join('\n')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment