From 2ca772ec50e2269c8b6ec570e6dfae905efbccb9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 20 Sep 2022 17:47:38 +0200 Subject: [PATCH] Fix for the latest yt-dlp in pip. --- ytdl_link_gen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ytdl_link_gen.py b/ytdl_link_gen.py index 221088c..89deaa7 100644 --- a/ytdl_link_gen.py +++ b/ytdl_link_gen.py @@ -420,7 +420,7 @@ class YTDLNew(yt_dlp.YoutubeDL): ie_entries = LazyList(ie_entries) def get_entry(i): - return YTDLNew._YoutubeDL__handle_extraction_exceptions( + return YTDLNew._handle_extraction_exceptions( lambda self, i: ie_entries[i - 1] )(self, i) @@ -834,4 +834,4 @@ if command == "gen": ce = None collected = gc.collect() - print("Garbage collector: collected", "%d objects." % collected) \ No newline at end of file + print("Garbage collector: collected", "%d objects." % collected)