Last active
September 6, 2020 19:29
-
-
Save Herst/ea3c2dbb293136905194cfa2fa60cec8 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
#!/bin/sh | |
wget -qO - "$( | |
curl --silent "https://api.github.com/repos/mozilla/geckodriver/releases/latest" | | |
sed -n 's/ *"browser_download_url": *"\([^"]\+-linux64\.tar\.gz\)"/\1/p' | |
)" | tar xz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do not use this any more it does not work reliably since the JSON can be minified sometimes.