diff options
Diffstat (limited to 'misc/randominfo.py')
-rwxr-xr-x | misc/randominfo.py | 12 |
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) |