From a285500fbcf69cbedf2df5cf028abeba1108ea50 Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 2 Apr 2024 08:53:55 +0100 Subject: sort out package "building" and metadata --- tests/test_randominfo.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 tests/test_randominfo.py (limited to 'tests/test_randominfo.py') diff --git a/tests/test_randominfo.py b/tests/test_randominfo.py new file mode 100755 index 0000000..bd71fdc --- /dev/null +++ b/tests/test_randominfo.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 +import unittest + +from yt_dlp_plugins.extractor import radiko +from yt_dlp import YoutubeDL + + +ie = radiko._RadikoBaseIE() +ydl = YoutubeDL(auto_init=False) +ie.set_downloader(ydl) + +info = ie._generate_random_info() +print("random device info") +print(info) -- cgit v1.2.3-70-g09d2