fix: rebuild formats from yt-dlp data
makes yattee and freetube work
This commit is contained in:
@@ -105,7 +105,7 @@ def hot(data):
|
||||
# try to get the data
|
||||
try:
|
||||
started = time.time()
|
||||
extracted_dict = ythdd_extractor.extract(url_lookup[data[1]] + videoId, getcomments=getcomments, maxcomments=comment_count)
|
||||
extracted_dict = ythdd_extractor.extract(url_lookup[data[1]] + videoId, getcomments=getcomments, maxcomments=comment_count, manifest_fix=True)
|
||||
extracted_dict["took"] = time.time() - started
|
||||
return 200, "OK", extracted_dict
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user