Пример #1
0
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)
Пример #2
0
def cars_form():
    brand = request.form['brand']

    return render_template('cars_form.html', brand=brand)
Пример #3
0
def contacts():
    return render_template('contacts.html')
Пример #4
0
def parser_3():
    data = site_parsing_3()
    return render_template('parsing_result_3.html', data=data)
Пример #5
0
def parser_2():
    data = site_parsing_2()
    return render_template('parsing_result_2.html', **data)
Пример #6
0
def show_parsing_html():
    return render_template('parser.html')
Пример #7
0
def main_page():
    return render_template('main.html')