Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
curl -o` \
curl -s \
| grep -o '"[^"]*"' \
| cut -d '"' -f 2`
Copy link

rkaravia commented Feb 8, 2021


  • Load the document at and find occurrences of "{something}"
  • This gives us a relative URL like "/api/data/20210205-sb227w4p/downloads/"
  • Remove the quotation marks => /api/data/20210205-sb227w4p/downloads/
  • Prepend to the relative URL, download and save as

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