Created
February 8, 2022 09:21
-
-
Save atomicstack/f1cdc0f8e61b0da9d3cd35b06c1f3b7a to your computer and use it in GitHub Desktop.
useful for sample repositories, such as kb6
This file contains 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
javascript console: | |
to_fetch = []; $('.machine_names').each(function(i, item) { var u = $(item).attr('href'); if (u.match('rar$')) { to_fetch.push(window.location.origin + "/" + u) } }); console.log(JSON.stringify(to_fetch)) | |
shell: | |
jq -r '.[]' < 'kb6.json' | vipe | ( while read u; do wget --continue --no-glob "$u"; sleep 60; done ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment