Setting for Extract <title> as title option on individual watches (#229)

* Extract <title> as title option on individual items
This commit is contained in:
dgtlmoon
2021-09-19 22:57:15 +02:00
committed by GitHub
parent 6901fc493d
commit 25476bfcb2
6 changed files with 15 additions and 6 deletions

View File

@@ -203,6 +203,7 @@ class commonSettingsForm(Form):
notification_body = TextAreaField('Notification Body', default='{watch_url} had a change.', validators=[validators.Optional(), ValidateTokensList()])
trigger_check = BooleanField('Send test notification on save')
fetch_backend = RadioField(u'Fetch Method', choices=content_fetcher.available_fetchers(), validators=[ValidateContentFetcherIsReady()])
extract_title_as_title = BooleanField('Extract <title> from document and use as watch title', default=False)
class watchForm(commonSettingsForm):
@@ -225,4 +226,3 @@ class globalSettingsForm(commonSettingsForm):
minutes_between_check = html5.IntegerField('Maximum time in minutes until recheck',
[validators.NumberRange(min=1)])
extract_title_as_title = BooleanField('Extract <title> from document and use as watch title')