summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2025-10-06 13:27:18 +0300
committerA Farzat <a@farzat.xyz>2025-10-06 13:27:18 +0300
commitfcb1db604306c2e09a03617dd42473bb400cef43 (patch)
tree947b9cb49629c8fec3dccd88c9f39548370f64ed
parent6e2520431a8108c5cc310d94b60aa47218c87787 (diff)
downloadcsca5028-fcb1db604306c2e09a03617dd42473bb400cef43.tar.gz
csca5028-fcb1db604306c2e09a03617dd42473bb400cef43.zip
Make url_based_extract_info ignore extra arguments
-rw-r--r--tests/analyser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/analyser.py b/tests/analyser.py
index acb4d44..e91e72f 100644
--- a/tests/analyser.py
+++ b/tests/analyser.py
@@ -12,7 +12,7 @@ from components.videos import VideoTuple
from components.ytdlp import obtain_vid_info
from data_analyser.utils import analyse_video, analyse_subscription, analyse_collection
-def url_based_extract_info(url: str, download: Any=None) -> Dict[str, Any]:
+def url_based_extract_info(url: str, **_: Any) -> Dict[str, Any]:
hash = md5(url.encode()).hexdigest()
hash_int = int(hash[:4], 16)
seconds = hash_int % 60