chore: allow download audio/video through HTTP node (#7224)
This commit is contained in:
@@ -133,9 +133,6 @@ class HttpRequestNode(BaseNode):
|
|||||||
"""
|
"""
|
||||||
files = []
|
files = []
|
||||||
mimetype, file_binary = response.extract_file()
|
mimetype, file_binary = response.extract_file()
|
||||||
# if not image, return directly
|
|
||||||
if 'image' not in mimetype:
|
|
||||||
return files
|
|
||||||
|
|
||||||
if mimetype:
|
if mimetype:
|
||||||
# extract filename from url
|
# extract filename from url
|
||||||
|
Reference in New Issue
Block a user