diff options
| author | A Farzat <a@farzat.xyz> | 2025-10-06 13:27:18 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2025-10-06 13:27:18 +0300 |
| commit | fcb1db604306c2e09a03617dd42473bb400cef43 (patch) | |
| tree | 947b9cb49629c8fec3dccd88c9f39548370f64ed | |
| parent | 6e2520431a8108c5cc310d94b60aa47218c87787 (diff) | |
| download | csca5028-fcb1db604306c2e09a03617dd42473bb400cef43.tar.gz csca5028-fcb1db604306c2e09a03617dd42473bb400cef43.zip | |
Make url_based_extract_info ignore extra arguments
| -rw-r--r-- | tests/analyser.py | 2 |
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 |
