youtube-dl

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

commit f375d4b7de17b1ac3d8fda9d4f071e1e55be1963
parent fa41fbd3189b36300a4558b722dea5857a7e4214
Author: Filippo Valsorda <filippo.valsorda@gmail.com>
Date:   Sun, 31 Mar 2013 03:12:28 +0200

import all IEs when testing to resemble more closely the real env

Diffstat:
Mtest/test_download.py | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/test_download.py b/test/test_download.py @@ -81,9 +81,8 @@ def generator(test_case): params.update(test_case.get('params', {})) fd = FileDownloader(params) - fd.add_info_extractor(ie()) - for ien in test_case.get('add_ie', []): - fd.add_info_extractor(getattr(youtube_dl.InfoExtractors, ien + 'IE')()) + for ie in youtube_dl.InfoExtractors.gen_extractors(): + fd.add_info_extractor(ie) finished_hook_called = set() def _hook(status): if status['status'] == 'finished':