rename dl to downloader

This commit is contained in:
R. M
2023-09-04 17:17:25 -03:00
parent 6f96166cf0
commit ebc07082d5
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ from pathlib import Path
import click
from .dl import Dl
from .downloader import Downloader
EXCLUDED_PARAMS = (
"urls",
@@ -300,7 +300,7 @@ def main(
)
logger = logging.getLogger(__name__)
logger.setLevel(log_level)
dl = Dl(**locals())
dl = Downloader(**locals())
if not wvd_location.exists() and not lrc_only:
logger.critical(X_NOT_FOUND_STRING.format(".wvd file", wvd_location))
return
+1 -1
View File
@@ -43,7 +43,7 @@ MP4_TAGS_MAP = {
}
class Dl:
class Downloader:
def __init__(
self,
final_path: Path = None,