RSS - New Settings option for making RSS follow the format of Notification Body across watch/group/etc, or system default and override the format with your own as you like.

This commit is contained in:
dgtlmoon
2025-11-19 12:58:12 +01:00
committed by GitHub
parent 3767a2d5b9
commit 12ce03c0bb
18 changed files with 624 additions and 474 deletions

View File

@@ -110,13 +110,14 @@ def get_UUID_for_tag_name(client, name):
# kinda funky, but works for now
def extract_rss_token_from_UI(client):
import re
res = client.get(
url_for("watchlist.index"),
)
m = re.search('token=(.+?)"', str(res.data))
token_key = m.group(1)
return token_key.strip()
return client.application.config.get('DATASTORE').data['settings']['application'].get('rss_access_token')
# import re
# res = client.get(
# url_for("watchlist.index"),
# )
# m = re.search('token=(.+?)"', str(res.data))
# token_key = m.group(1)
# return token_key.strip()
# kinda funky, but works for now
def extract_UUID_from_client(client):