1
 2
 3
 4
 5
 6
 7
 8
 9
10
    from flask import Flask
    app = Flask(__name__)
    
    @app.route('/wget/<url>')
    def wget(url):
        # show the user profile for that user
        return "The Url is %s" % url
    
    if __name__ == "__main__":
        app.run()