Created
December 12, 2015 03:31
-
-
Save jokester/6967ce5c63c73ed939c9 to your computer and use it in GitHub Desktop.
how to extract download link from the download list of dell's crappy support site
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
#!/bin/bash | |
set -o pipefail | |
set -e | |
# the link to download list can be obtained with "send the list via mail" | |
# mine was https://www.dell.com/support/home/jp/ja/jpdhs1/Drivers/DownloadListDetails?downloadListId=81a3eea8-706d-4fc4-bb41-a17754e291c5 | |
curl "https://www.dell.com/support/home/jp/ja/jpdhs1/Drivers/DownloadListDetails?downloadListId=81a3eea8-706d-4fc4-bb41-a17754e291c5" \ | |
| egrep --only-match 'http.*?\.exe' -i \ | |
| xargs wget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment