diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-04-20 12:42:57 +0200 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-04-20 12:42:57 +0200 |
commit | 93412126422b1324e920dc5097ee57c3ad11371b (patch) | |
tree | e737993a07cbf91102ecbfd109430e958492b8da /test/test_download.py | |
parent | f7a9721e16139ba3e7bce76d04c3b43ff932f698 (diff) | |
download | youtube-dl-93412126422b1324e920dc5097ee57c3ad11371b.tar.gz youtube-dl-93412126422b1324e920dc5097ee57c3ad11371b.zip |
Create a function in InfoExtractors that returns the InfoExtractor class with the given name
Diffstat (limited to 'test/test_download.py')
-rw-r--r-- | test/test_download.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_download.py b/test/test_download.py index e3513efba..cf8028718 100644 --- a/test/test_download.py +++ b/test/test_download.py @@ -67,7 +67,7 @@ class TestDownload(unittest.TestCase): def generator(test_case): def test_template(self): - ie = getattr(youtube_dl.InfoExtractors, test_case['name'] + 'IE') + ie = youtube_dl.InfoExtractors.get_info_extractor(test_case['name'])#getattr(youtube_dl.InfoExtractors, test_case['name'] + 'IE') if not ie._WORKING: print('Skipping: IE marked as not _WORKING') return |