youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 0214ce7c7584bd27c6e175065e3991d97af05855
parent 95fedbf86bd6c8820b01768db53355fe488dff5e
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Mon, 31 Dec 2012 19:21:28 +0100

Ok, the Escapist test was passing only in my Travis repo, do not ask me why; also, a small bugfix to the latest commit

Diffstat:
Mtest/tests.json | 3++-
Myoutube_dl/FileDownloader.py | 2+-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/tests.json b/test/tests.json @@ -95,7 +95,8 @@ "name": "Escapist", "url": "http://www.escapistmagazine.com/videos/view/the-escapist-presents/6618-Breaking-Down-Baldurs-Gate", "file": "6618-Breaking-Down-Baldurs-Gate.flv", - "md5": "c6793dbda81388f4264c1ba18684a74d" + "md5": "c6793dbda81388f4264c1ba18684a74d", + "skip": "Fails with timeout on Travis" }, { "name": "GooglePlus", diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py @@ -494,7 +494,7 @@ class FileDownloader(object): # Extract information from URL and process it videos = ie.extract(url) - if len(videos) > 1 and self.fixed_template(): + if len(videos or []) > 1 and self.fixed_template(): raise SameFileError(self.params['outtmpl']) for video in videos or []: