app = Flask(__name__)
Please adjust according to your specific requirements and tech stack.
@app.route('/download', methods=['GET']) def download_video(): return send_file( video_path, as_attachment=True, attachment_filename='Kutch.Express.Gujarati.2023.1080p.mp4', mimetype='video/mp4' )