From b5298403470347bfba79130c49bb7dca7ee906d8 Mon Sep 17 00:00:00 2001 From: garret Date: Sun, 11 Aug 2024 11:43:12 +0100 Subject: 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 --- misc/randominfo.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 misc/randominfo.py (limited to 'misc/randominfo.py') 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) -- cgit v1.2.3-70-g09d2