jordoncm/youtube-dl-playlist — pull request #4 by jmtd (2011-10-11 18:22:31+00:00)
Title: some quick fixes to youtube-dl-playlist

HI, thanks for writing youtube-dl-playlist. I've made a small number of improvements for my own use:

* use a random, safe working directory name (to avoid symlink attacks)
* honour $TMPDIR and related variables (to provide control over which filesystem is used for the working directory)
* correct the appending of the filename suffix (include the separating '.')

Please consider this pull request.