aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/downloader/niconico.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-04-17 22:48:50 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-05-21 16:01:53 +0530
commitc487cf00101525ff836d59a2a42ef63e85ea9556 (patch)
tree65a5eb466f3d42e9da24cf6af5202876b6af6b0f /yt_dlp/downloader/niconico.py
parent415f8d51a8f3565d7a1d4a8188511e7ad68514c7 (diff)
downloadhypervideo-pre-c487cf00101525ff836d59a2a42ef63e85ea9556.tar.lz
hypervideo-pre-c487cf00101525ff836d59a2a42ef63e85ea9556.tar.xz
hypervideo-pre-c487cf00101525ff836d59a2a42ef63e85ea9556.zip
[cleanup] Misc
Diffstat (limited to 'yt_dlp/downloader/niconico.py')
-rw-r--r--yt_dlp/downloader/niconico.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/downloader/niconico.py b/yt_dlp/downloader/niconico.py
index 5e9dda03d..77ed39e5b 100644
--- a/yt_dlp/downloader/niconico.py
+++ b/yt_dlp/downloader/niconico.py
@@ -1,8 +1,7 @@
import threading
+from . import get_suitable_downloader
from .common import FileDownloader
-from ..downloader import get_suitable_downloader
-from ..extractor.niconico import NiconicoIE
from ..utils import sanitized_Request
@@ -10,8 +9,9 @@ class NiconicoDmcFD(FileDownloader):
""" Downloading niconico douga from DMC with heartbeat """
def real_download(self, filename, info_dict):
- self.to_screen('[%s] Downloading from DMC' % self.FD_NAME)
+ from ..extractor.niconico import NiconicoIE
+ self.to_screen('[%s] Downloading from DMC' % self.FD_NAME)
ie = NiconicoIE(self.ydl)
info_dict, heartbeat_info_dict = ie._get_heartbeat_info(info_dict)