diff --git a/app/routes.py b/app/routes.py index fbbd5c2..0f249ac 100644 --- a/app/routes.py +++ b/app/routes.py @@ -32,7 +32,7 @@ config = json.load(open('yotter-config.json')) ########################## NITTERINSTANCE = config['nitterInstance'] # Must be https://.../ YOUTUBERSS = "https://www.youtube.com/feeds/videos.xml?channel_id=" -REGISTRATIONS = True +REGISTRATIONS = config['registrations'] ########################## #### Global variables #### @@ -717,4 +717,4 @@ def getYoutubePosts(ids): video.description = vid.summary_detail.value video.description = re.sub(r'^https?:\/\/.*[\r\n]*', '', video.description[0:120]+"...", flags=re.MULTILINE) videos.append(video) - return videos \ No newline at end of file + return videos