youtube-dl

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

commit 86fd453ea8f9b65f6b1aded22ccc802292159cf3
parent c83411b9eefffbdc85c58c6ba7693c66896df7f7
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Fri, 10 May 2013 09:21:24 +0200

Merge remote-tracking branch 'origin/master'

Diffstat:
Mtest/test_youtube_subtitles.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/test_youtube_subtitles.py b/test/test_youtube_subtitles.py @@ -12,6 +12,7 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from youtube_dl.InfoExtractors import YoutubeIE from youtube_dl.utils import * +from youtube_dl import FileDownloader PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json") with io.open(PARAMETERS_FILE, encoding='utf-8') as pf: @@ -24,7 +25,7 @@ proxy_handler = compat_urllib_request.ProxyHandler() opener = compat_urllib_request.build_opener(proxy_handler, cookie_processor, YoutubeDLHandler()) compat_urllib_request.install_opener(opener) -class FakeDownloader(object): +class FakeDownloader(FileDownloader): def __init__(self): self.result = [] self.params = parameters