Created
January 3, 2019 15:53
-
-
Save miguelangelgonzalez/b7118f86317cdf3d02aca082243d47d9 to your computer and use it in GitHub Desktop.
Get the quote of the dollar in the main Argentine banks
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
while true;do clear;echo "Cotizacion $(date)";echo -e "Dolar (Santander) : \t" $(curl -Ls "https://bit.ly/2O9Mvvm"|grep '[0-9]{2},[0-9]{2}' -Eo|head -n2);echo -e "Dolar (Nacion) : \t" $(curl -Ls "https://bit.ly/2NvKhcM"|tr -d ' '|grep DolarU\.S\.A -A2|grep -oE '[0-9]{2},[0-9]{2}'|tr '\n' ' ');echo -e "Dolar (Galicia) : \t" $(curl -Ls "https://bit.ly/2wWvApx"|jq -r '.buy + "0", .sell + "0"'|tr '\n' ' ');echo -e "Dolar (BBVA-Frances) : \t" $(curl -Ls "https://bit.ly/2O0wxUt"|iconv -f iso-8859-1 -t utf-8|sed -n "s,detalles,\n,gp"|grep -oE '[0-9]{2},[0-9]{2}'|head -n2|tr '\n' ' ');sleep 600;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment