From 22c00da06b06faddf72ad510a50af0393b8693b3 Mon Sep 17 00:00:00 2001 From: Mitchell Mebane Date: Tue, 21 Apr 2015 17:31:30 -0500 Subject: [PATCH] Allow specifying a directory as the output template --- test/test_utils.py | 12 ++++++++++++ youtube_dl/YoutubeDL.py | 2 ++ youtube_dl/utils.py | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/test/test_utils.py b/test/test_utils.py index 2e3a6480c..b93503820 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -16,10 +16,12 @@ import json import xml.etree.ElementTree from youtube_dl.utils import ( + add_defaults_if_directory, age_restricted, args_to_str, clean_html, DateRange, + DEFAULT_OUTTMPL, detect_exe_version, encodeFilename, escape_rfc3986, @@ -581,6 +583,16 @@ ffmpeg version 2.4.4 Copyright (c) 2000-2014 the FFmpeg ...'''), '2.4.4') 'like_count > 100 & dislike_count