Skip to content

Instantly share code, notes, and snippets.

@evbruno
Created March 12, 2020 13:41
Show Gist options
  • Save evbruno/9cc0e3c4b4d8e39b5af2ddb155ade265 to your computer and use it in GitHub Desktop.
Save evbruno/9cc0e3c4b4d8e39b5af2ddb155ade265 to your computer and use it in GitHub Desktop.
Pegar nome do Administrador do FII
#!/bin/bash
TICKERS=('alzr11' 'vrta11' 'knri11')
for t in "${TICKERS[@]}"
do
echo -n "$t "
curl --silent https://statusinvest.com.br/fundos-imobiliarios/$t | \
grep '^<strong class="fw-700">' | sed 's/<strong class="fw-700">//g' | sed 's/<\/strong>//g'
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment