def parser(): car_name_site, site_name, average_price, max_price, min_price, offers_all = site_parsing( ) return render_template('parsing_result.html', car_name_site=car_name_site, site_name=site_name, average_price=average_price, max_price=max_price, min_price=min_price, offers_all=offers_all)
def cars_form(): brand = request.form['brand'] return render_template('cars_form.html', brand=brand)
def contacts(): return render_template('contacts.html')
def parser_3(): data = site_parsing_3() return render_template('parsing_result_3.html', data=data)
def parser_2(): data = site_parsing_2() return render_template('parsing_result_2.html', **data)
def show_parsing_html(): return render_template('parser.html')
def main_page(): return render_template('main.html')