diff options
author | Patrick Stadler <patrick.stadler@gmail.com> | 2023-05-07 22:13:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 22:13:45 +0200 |
commit | 127cfb99164ba4007affc1314dbf78723f949986 (patch) | |
tree | eae2002cbc83093cb5a3872cf96644b3ecfbf2e7 | |
parent | af7a595177cf999a4d5f2fca842030abab768156 (diff) |
switch to v6 endpoint (#38)
-rwxr-xr-x | ticker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ fi FIELDS=(symbol marketState regularMarketPrice regularMarketChange regularMarketChangePercent \ preMarketPrice preMarketChange preMarketChangePercent postMarketPrice postMarketChange postMarketChangePercent) -API_ENDPOINT="https://query1.finance.yahoo.com/v7/finance/quote?lang=en-US®ion=US&corsDomain=finance.yahoo.com" +API_ENDPOINT="https://query1.finance.yahoo.com/v6/finance/quote?lang=en-US®ion=US&corsDomain=finance.yahoo.com" if [ -z "$NO_COLOR" ]; then : "${COLOR_BOLD:=\e[1;37m}" |