Skip to content

Instantly share code, notes, and snippets.

@gvilarino
Created August 30, 2018 16:02
Show Gist options
  • Save gvilarino/a46a1f591098837dee397a364c1d6f57 to your computer and use it in GitHub Desktop.
Save gvilarino/a46a1f591098837dee397a364c1d6f57 to your computer and use it in GitHub Desktop.
Dolar minuto a minuto
while true;do clear; curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep \<td\>| sed -n 2p|awk '{ gsub("[<td>\/]*[[:blank:]]*","");print}'; sleep 60; done;
@palamago
Copy link

@sebagomila
Copy link

Estas trayendo el valor de compra
curl https://banco.santanderrio.com.ar/exec/cotizacion/index.jsp 2> /dev/null | grep \<td\>| sed -n 3p|awk '{ gsub("[<td>\/]*[[:blank:]]*","");print}'; <- Trae el valor de venta

sed -n 3p

@sachalifs
Copy link

te amo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment