From 689764f8cea694e99609a41f1630d2e7e8e8668a Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sun, 28 Sep 2025 12:17:25 +1300 Subject: [PATCH] Adjust imports --- yt_dlp_ejs/__init__.py | 3 ++- yt_dlp_ejs/yt/__init__.py | 3 +++ yt_dlp_ejs/yt/solver/__init__.py | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/yt_dlp_ejs/__init__.py b/yt_dlp_ejs/__init__.py index 4b53065..ceb8d4d 100644 --- a/yt_dlp_ejs/__init__.py +++ b/yt_dlp_ejs/__init__.py @@ -1,6 +1,7 @@ from yt_dlp_ejs._version import version - +from yt_dlp_ejs import yt __all__ = [ "version", + "yt" ] diff --git a/yt_dlp_ejs/yt/__init__.py b/yt_dlp_ejs/yt/__init__.py index e69de29..2e3887a 100644 --- a/yt_dlp_ejs/yt/__init__.py +++ b/yt_dlp_ejs/yt/__init__.py @@ -0,0 +1,3 @@ +from . import solver + +__all__ = ["solver"] \ No newline at end of file diff --git a/yt_dlp_ejs/yt/solver/__init__.py b/yt_dlp_ejs/yt/solver/__init__.py index 9fc4405..7e53f27 100644 --- a/yt_dlp_ejs/yt/solver/__init__.py +++ b/yt_dlp_ejs/yt/solver/__init__.py @@ -1,8 +1,7 @@ -import importlib +import importlib.resources import yt_dlp_ejs.yt.solver - def core() -> str: """ Read the contents of the JavaScript core solver bundle as string.