mirror of
https://github.com/Relintai/ytdl_link_gen.git
synced 2024-12-20 01:16:50 +01:00
Fix for the latest yt-dlp in pip.
This commit is contained in:
parent
5ddb21992f
commit
2ca772ec50
@ -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)
|
||||
print("Garbage collector: collected", "%d objects." % collected)
|
||||
|
Loading…
Reference in New Issue
Block a user