mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-13 01:58:22 +00:00
fix: [backend crawler] rename downloaded archive
This commit is contained in:
parent
b4f06c21f9
commit
e71daac7d2
1 changed files with 2 additions and 1 deletions
|
@ -829,8 +829,9 @@ def download_domain():
|
|||
#dict_links = h.get_all_links(l_pastes)
|
||||
|
||||
zip_file = h.create_domain_basic_archive(l_pastes)
|
||||
filename = domain + '.zip'
|
||||
|
||||
return send_file(zip_file, attachment_filename='test.zip', as_attachment=True)
|
||||
return send_file(zip_file, attachment_filename=filename, as_attachment=True)
|
||||
|
||||
|
||||
@hiddenServices.route("/hiddenServices/onion_son", methods=['GET'])
|
||||
|
|
Loading…
Reference in a new issue