Last active
May 23, 2022 12:45
-
-
Save mbecker/d1a104cf2dc88d743136bd7537db4ec3 to your computer and use it in GitHub Desktop.
Extract the modules from an Azure learning path site
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
// https://docs.microsoft.com/de-de/learn/certifications/exams/az-305 | |
var mainTitle = document.getElementsByClassName("title is-1 has-line-height-reset")[0].innerText; | |
var titles = ""; | |
var cardTitles = document.getElementsByClassName("card-content-title"); | |
for (let item of cardTitles) { | |
titles = titles + mainTitle + ";" + item.text + ";" + item.href + "\n"; | |
} | |
console.log(titles); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment