aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/misc/randominfo.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-08-11 11:43:12 +0100
committergarret <garret@airmail.cc>2024-08-11 11:43:12 +0100
commitb5298403470347bfba79130c49bb7dca7ee906d8 (patch)
tree458efb22b87b2fb693d98e2c3418e5af39346dfa /misc/randominfo.py
parent032c7951143e6452aeda34863bb38fed7ad26d3e (diff)
downloadyt-dlp-rajiko-b5298403470347bfba79130c49bb7dca7ee906d8.tar.gz
yt-dlp-rajiko-b5298403470347bfba79130c49bb7dca7ee906d8.tar.bz2
yt-dlp-rajiko-b5298403470347bfba79130c49bb7dca7ee906d8.zip
move misc stuff to "misc" folder
the tests arent tests really, probably shouldnt give that impression + maybe now they wont get automatically included in the build
Diffstat (limited to 'misc/randominfo.py')
-rwxr-xr-xmisc/randominfo.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/randominfo.py b/misc/randominfo.py
new file mode 100755
index 0000000..bdb7660
--- /dev/null
+++ b/misc/randominfo.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python3
+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)