Skip to content

Instantly share code, notes, and snippets.

@hacker1024
Last active February 4, 2024 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hacker1024/4deb6288417907435e5f5fee44ea5ac8 to your computer and use it in GitHub Desktop.
Save hacker1024/4deb6288417907435e5f5fee44ea5ac8 to your computer and use it in GitHub Desktop.
Extract the URLs from SOLIDWORKS manual download pages.
copy(Array.from(document.getElementsByClassName('downloadfiles')[0].getElementsByTagName('a'), (a) => a.href).join('\n'))

SOLIDWORKS allows installation files to be manually downloaded, but there's no easy way to copy all of the URLs!

Paste the provided JavaScript into the browser console to copy all of the URLs at once. This list can be easily given to a download manager, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment