Skip to content

Instantly share code, notes, and snippets.

@kylewin
Last active December 30, 2023 06:32
Show Gist options
  • Save kylewin/a4d94055513b9fa85d3262061df9cfb6 to your computer and use it in GitHub Desktop.
Save kylewin/a4d94055513b9fa85d3262061df9cfb6 to your computer and use it in GitHub Desktop.
Get SJC Gold price
curl -s https://sjc.com.vn/giavang/textContent.php | rg -A2 10L | rg -o '.{0,6},000'
#curl -s https://sjc.com.vn/giavang/textContent.php | grep -A2 10L | grep -oP '.{0,6},000'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment