Created
February 11, 2023 23:57
-
-
Save ygkn/9ee14f3a92d16d679ef6a3a8c216f154 to your computer and use it in GitHub Desktop.
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
for (const el of document.querySelectorAll( | |
"a[href^='https://bizboard.nikkeibp.co.jp/houjin/cgi-bin/nsearch/md_pdf.pl']:not([class])" | |
)) { | |
// wait 1s | |
await new Promise((res) => setTimeout(res, 1000)); | |
el.download = ""; | |
el.click(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment