aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/test_randominfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_randominfo.py')
-rwxr-xr-xtests/test_randominfo.py14
1 files changed, 14 insertions, 0 deletions
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)