YoutubeDL: rename `_fd_progress_hooks` back to `_progress_hooks`
[youtube-dl] / test / test_download.py
index f242b3528aa002d8610d7da587a49a601b2c5f9f..d0be8d27ca93631b73e6cf82d459cbdbf722b2fa 100644 (file)
@@ -90,7 +90,7 @@ def generator(test_case):
         def _hook(status):
             if status['status'] == 'finished':
                 finished_hook_called.add(status['filename'])
-        ydl.add_downloader_progress_hook(_hook)
+        ydl.add_progress_hook(_hook)
 
         def get_tc_filename(tc):
             return tc.get('file') or ydl.prepare_filename(tc.get('info_dict', {}))