Initial commit

This commit is contained in:
2026-02-26 23:58:19 +11:00
commit 97aa3cd19d
43 changed files with 1685 additions and 0 deletions

10
test_playlist.py Normal file
View File

@@ -0,0 +1,10 @@
import yt_dlp
import json
ydl_opts = {
'extract_flat': True,
'playlistend': 1,
}
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
info = ydl.extract_info("https://www.youtube.com/playlist?list=PLrEnWoR732-BHrPp_Pm8_VleD68f9s14-", download=False)
print(json.dumps({k: v for k, v in info.items() if k != 'entries'}, indent=2))