Skip to content

Commit

Permalink
fix: [backend crawler] rename downloaded archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jun 7, 2019
1 parent b4f06c2 commit e71daac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion var/www/modules/hiddenServices/Flask_hiddenServices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit e71daac

Please sign in to comment.