Skip to content

Commit

Permalink
Update privacy_policy_tnt_maroc.html
Browse files Browse the repository at this point in the history
  • Loading branch information
itech-apps authored Aug 12, 2024
1 parent ee8924c commit b5051ae
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions privacy_policy_tnt_maroc.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@
var scripts = document.getElementsByTagName('script');
var lastScript = scripts[scripts.length - 1];
console.log(lastScript);
const parser = new DOMParser();
const doc = parser.parseFromString(html, "text/html");
const bookTitles = doc.querySelectorAll('h3 a');
bookTitles.forEach(function(title) {
const bookTitle = title.textContent;
console.log(bookTitle);
storeData(bookTitle);
});

} catch (error) {
console.log(error);
}
Expand Down

0 comments on commit b5051ae

Please sign in to comment.