fixed it for the /info/ path too

This commit is contained in:
Robin Universe 2021-07-04 16:54:23 -05:00
parent abb7868e7d
commit af263ce55f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def twitfix(subpath):
@app.route('/info/<path:subpath>')
def info(subpath):
with ydl:
with youtube_dl.YoutubeDL({'outtmpl': '%(id)s.%(ext)s'}) as ydl:
result = ydl.extract_info(subpath, download=False)
return result