import os import re from loguru import logger from changedetectionio.strtobool import strtobool from wtforms import ( BooleanField, Form, IntegerField, RadioField, SelectField, StringField, SubmitField, TextAreaField, fields, validators, widgets ) from flask_wtf.file import FileField, FileAllowed from wtforms.fields import FieldList from wtforms.validators import ValidationError from validators.url import url as url_validator # default # each select