Skip to content

Commit

Permalink
Merge pull request #1040 from openzim/fix_mindtouch
Browse files Browse the repository at this point in the history
Add mindtouch to worker
  • Loading branch information
benoit74 authored Oct 31, 2024
2 parents 41f91dd + 271d88d commit b427508
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion workers/app/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
OFFLINER_IFIXIT = "ifixit"
OFFLINER_FREECODECAMP = "freecodecamp"
OFFLINER_DEVDOCS = "devdocs"
OFFLINER_MINDTOUCH = "mindtouch"

ALL_OFFLINERS = [
OFFLINER_MWOFFLINER,
Expand All @@ -139,6 +140,7 @@
OFFLINER_IFIXIT,
OFFLINER_FREECODECAMP,
OFFLINER_DEVDOCS,
OFFLINER_MINDTOUCH,
]
SUPPORTED_OFFLINERS = [
offliner
Expand All @@ -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"
Expand Down

0 comments on commit b427508

Please sign in to comment.