Change raw link in README.
Was previously pointing to a page that gave a 301 redirect, which caused me to download an incorrect file with curl on Mac. This should be slightly faster since wget/curl doesn't have to follow any redirect.
This commit is contained in:
parent
edf8448274
commit
a8db572501
|
@ -30,14 +30,14 @@ python speedtest-cli/setup.py
|
||||||
### Just download (just like the way it was)
|
### Just download (just like the way it was)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wget -O speedtest-cli https://github.com/sivel/speedtest-cli/raw/master/speedtest_cli.py
|
wget -O speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
|
||||||
chmod +x speedtest-cli
|
chmod +x speedtest-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -o speedtest-cli https://github.com/sivel/speedtest-cli/raw/master/speedtest_cli.py
|
curl -o speedtest-cli https://raw.github.com/sivel/speedtest-cli/master/speedtest_cli.py
|
||||||
chmod +x speedtest-cli
|
chmod +x speedtest-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -58,4 +58,4 @@ chmod +x speedtest-cli
|
||||||
--simple Suppress verbose output, only show basic information
|
--simple Suppress verbose output, only show basic information
|
||||||
--list Display a list of speedtest.net servers sorted by distance
|
--list Display a list of speedtest.net servers sorted by distance
|
||||||
--server SERVER Specify a server ID to test against
|
--server SERVER Specify a server ID to test against
|
||||||
--mini MINI URL of the Speedtest Mini server
|
--mini MINI URL of the Speedtest Mini server
|
||||||
|
|
Loading…
Reference in New Issue