aboutsummaryrefslogtreecommitdiff
path: root/test/test_write_info_json.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_write_info_json.py')
-rw-r--r--test/test_write_info_json.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_write_info_json.py b/test/test_write_info_json.py
index 8134dda37..b5eca7649 100644
--- a/test/test_write_info_json.py
+++ b/test/test_write_info_json.py
@@ -10,7 +10,7 @@ import unittest
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
import youtube_dl.FileDownloader
-import youtube_dl.InfoExtractors
+import youtube_dl.extractor
from youtube_dl.utils import *
PARAMETERS_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "parameters.json")
@@ -48,7 +48,7 @@ class TestInfoJSON(unittest.TestCase):
self.tearDown()
def test_info_json(self):
- ie = youtube_dl.InfoExtractors.YoutubeIE()
+ ie = youtube_dl.extractor.YoutubeIE()
fd = FileDownloader(params)
fd.add_info_extractor(ie)
fd.download([TEST_ID])