#!/bin/sh
#
# Public domain
# Author: roman [] tsisyk.com
#
# Usage: ./me url [youtube-dl parameters]
#
COOKIE_FILE=/var/tmp/youtube-dl-cookies.txt
mplayer -fs -cache 10000 -cache-min 5 -cookies -cookies-file ${COOKIE_FILE} $(youtube-dl --max-quality=18 -g --cookies$