scripts/pirate_program/scrap.js

6 lines
129 B
JavaScript

liste = document.querySelectorAll('#main figcaption a')
liens = []
liste.forEach(elem=>{
liens.push(elem.attributes["href"])
})