Skip to content

Instantly share code, notes, and snippets.

View pawelz's full-sized avatar

Paweł Zuzelski pawelz

View GitHub Profile
#!/bin/sh
# just an example of how you could handle your downloads
# try some pattern matching on the uri to determine what we should do
# Some sites block the default wget --user-agent..
GET="wget --user-agent=Firefox --content-disposition --load-cookies=${HOME}/.local/share/uzbl/cookies.txt -nv "
dest="$HOME/Downloads/"
url="$8"