This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |