Created
August 30, 2018 16:02
-
-
Save gvilarino/a46a1f591098837dee397a364c1d6f57 to your computer and use it in GitHub Desktop.
Dolar minuto a minuto
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; 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; |
Muy largo el exp time para la situación...
if (req.currentCountry === "AR") {
res.headers("Cache-Control: max-age", 60);
}
va PR para Santander.
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
te amo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quiero pensás que tienen una cache... Igual seamos buenos con los muchachos que su vieja mula ya no es lo que era