SHARE
TWEET

Untitled

a guest Jun 15th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let elementsHistoric = document.getElementById("ulhistoricocompleto");
  2.  
  3. for (var element of elementsHistoric) {
  4.                 let title = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstTtl").innerText;
  5.                 let date = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstDta").innerText;
  6.                 let description = element.querySelectorAll("#ulhistoricocompleto .hstLne")[0].querySelector(".hstMais").innerText;
  7.                 data.push({ title, date, description });
  8.             }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top