Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 35 integrate database storage with analysis script #97

Closed
Closed
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ def index():

@app.route("/input")
def input():
return render_template("input.html")
return render_template("index.html")

#setting up backend to receive urls
@app.route('/save_url', methods=['POST'])
def scrape():
def scrap():
urls = request.form.getlist('urls')
validated_urls = validate_urls(urls)

Expand Down Expand Up @@ -97,4 +97,4 @@ def analysis():
return render_template('test.html')

if __name__ == '__main__':
app.run(debug=True)
app.run(debug=True)
Loading