chore: allow download audio/video through HTTP node (#7224)
This commit is contained in:
parent
429e85f5d6
commit
3a27166c2e
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue