Skip to content

Instantly share code, notes, and snippets.

@pasbi
Created March 13, 2018 21:22
Show Gist options
  • Save pasbi/4d601ba3e8640761d78ae5b7d64f6e8c to your computer and use it in GitHub Desktop.
Save pasbi/4d601ba3e8640761d78ae5b7d64f6e8c to your computer and use it in GitHub Desktop.
Download Webpage
useragent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/64.0.3282.167 Chrome/64.0.3282.167 Safari/537.36"
url="https://www.ultimate-guitar.com/search.php?search_type=title&value=hello"
wget --user-agent "$useragent" "$url" -O /tmp/page.html
firefox /tmp/page.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment