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
async function getUri(uri) { | |
const response = await fetch(uri); | |
const response_1 = await response.text(); | |
const document = new DOMParser().parseFromString(response_1, "text/html"); | |
const [download] = [...document.querySelectorAll("#DwsldCn a")].filter(btn => /fichier/.test(btn.href)); | |
return download.href; | |
} | |
async function saveUris() { |
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
for /D %s in (.\*) do ( | |
cd %s | |
echo [FOLDER]: %s | |
git config user.name "{USERNAME}" | |
git config user.email {EMAIL} | |
cd .. | |
) |