Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also...
[youtube-dl] / youtube_dl / FileDownloader.py
index d9a4ecd3a99c2127105d5ce3f87a4fe038fa1040..ebc2552dfc0933306a2e50b1e4a9b0bc8e501270 100644 (file)
@@ -493,6 +493,10 @@ class FileDownloader(object):
 
                 # Extract information from URL and process it
                 videos = ie.extract(url)
+
+                if len(videos or []) > 1 and self.fixed_template():
+                    raise SameFileError(self.params['outtmpl'])
+
                 for video in videos or []:
                     video['extractor'] = ie.IE_NAME
                     try: