Flask Demo

A Web crawler, sometimes called a spider or spiderbot and often shortened to crawler, is an Internet bot that systematically browses the World Wide Web, typically for the purpose of Web indexing (web spidering). wiki

  1. Flask
    1. References: https://flask.palletsprojects.com/en/1.1.x/quickstart/
    2. 샘플코드

Flask


References: https://flask.palletsprojects.com/en/1.1.x/quickstart/

샘플코드

from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'
$ export FLASK_APP=hello.py
$ python -m flask run --host=0.0.0.0
 * Running on http://0.0.0.0:5000/

© 2018. All rights reserved.

Powered by Hydejack v8.4.0