From f844dfd63812487b1bc571789f85dff36f09d9f4 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Mon, 29 Jul 2024 08:47:46 +0000 Subject: [PATCH] Adjust youtube offliner for v3.0.0 --- .../src/common/schemas/offliners/youtube.py | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/dispatcher/backend/src/common/schemas/offliners/youtube.py b/dispatcher/backend/src/common/schemas/offliners/youtube.py index c5e9a2ff..ec132ef9 100644 --- a/dispatcher/backend/src/common/schemas/offliners/youtube.py +++ b/dispatcher/backend/src/common/schemas/offliners/youtube.py @@ -123,20 +123,11 @@ class Meta: tags = String( metadata={ "label": "ZIM Tags", - "description": "List of Tags for the ZIM file. " + "description": "List of comma-separated Tags for the ZIM file. " "_videos:yes added automatically", } ) - locale = String( - metadata={ - "label": "Locale", - "description": "Locale name to use for translations (if avail) " - "and time representations. Defaults to Language flag value or English if " - "flag is not set.", - } - ) - dateafter = String( metadata={ "label": "Only after date", @@ -192,16 +183,6 @@ class Meta: }, ) - autoplay = fields.Boolean( - truthy=[True], - falsy=[False], - metadata={ - "label": "Auto-play", - "description": "Enable autoplay on video articles " - "(home never have autoplay).", - }, - ) - profile = fields.Url( metadata={ "label": "Profile Image",