chore: allow download audio/video through HTTP node (#7224)

This commit is contained in:
非法操作
2024-08-14 16:25:59 +08:00
committed by GitHub
parent 429e85f5d6
commit 3a27166c2e

View File

@@ -133,9 +133,6 @@ class HttpRequestNode(BaseNode):
"""
files = []
mimetype, file_binary = response.extract_file()
# if not image, return directly
if 'image' not in mimetype:
return files
if mimetype:
# extract filename from url