Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.clear();
- var tables = document.getElementsByClassName("wikiepisodetable");
- [].forEach.call( tables, function ( table, i ) {
- [].forEach.call( table.rows, function ( row, j ) {
- if (j > 0) console.log("S" + `${i+1}`.padStart(2, "0") + "E" + `${j}`.padStart(2, "0") + "." + row.cells[2].innerText.replace(/\"/g,""));
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement