From 271d88d24c8c5c8e98ee6902fef85558e7585453 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Thu, 31 Oct 2024 11:04:34 +0000 Subject: [PATCH] Add mindtouch to worker --- workers/app/common/constants.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/workers/app/common/constants.py b/workers/app/common/constants.py index 0f43fe3e..5030849b 100644 --- a/workers/app/common/constants.py +++ b/workers/app/common/constants.py @@ -123,6 +123,7 @@ OFFLINER_IFIXIT = "ifixit" OFFLINER_FREECODECAMP = "freecodecamp" OFFLINER_DEVDOCS = "devdocs" +OFFLINER_MINDTOUCH = "mindtouch" ALL_OFFLINERS = [ OFFLINER_MWOFFLINER, @@ -139,6 +140,7 @@ OFFLINER_IFIXIT, OFFLINER_FREECODECAMP, OFFLINER_DEVDOCS, + OFFLINER_MINDTOUCH, ] SUPPORTED_OFFLINERS = [ offliner @@ -152,9 +154,19 @@ OFFLINER_SOTOKI, OFFLINER_IFIXIT, OFFLINER_YOUTUBE, + OFFLINER_MINDTOUCH, ] -ALL_PLATFORMS = ["wikimedia", "youtube", "wikihow", "ifixit", "ted", "devdocs"] +ALL_PLATFORMS = [ + "wikimedia", + "youtube", + "wikihow", + "ifixit", + "ted", + "devdocs", + "shamela", + "libretexts", +] PLATFORMS_TASKS = {} for platform in ALL_PLATFORMS: name = f"PLATFORM_{platform}_MAX_TASKS"