Define print_() for line 115

This commit is contained in:
Christian Clauss 2022-02-21 22:28:12 +01:00 committed by GitHub
parent d58897fe9f
commit af933eba71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ def alter(seg):
def extract_info(url, cw=None):
print_ = get_print(cw)
ydl = ytdl.YoutubeDL(cw=cw)
try:
info = ydl.extract_info(url)