From 32a77196e9a334131d5e415234b7ef4461f78232 Mon Sep 17 00:00:00 2001 From: benoit74 Date: Fri, 11 Oct 2024 09:08:59 +0000 Subject: [PATCH] Update offliner flags for Youtube 3.2.0 --- .../backend/src/common/schemas/offliners/youtube.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dispatcher/backend/src/common/schemas/offliners/youtube.py b/dispatcher/backend/src/common/schemas/offliners/youtube.py index b4f9f565..c4109d97 100644 --- a/dispatcher/backend/src/common/schemas/offliners/youtube.py +++ b/dispatcher/backend/src/common/schemas/offliners/youtube.py @@ -37,9 +37,9 @@ class Meta: ident = String( metadata={ "label": "Youtube ID(s)", - "description": "Youtube ID(s) of the user, channel or playlist(s) to ZIM " - "(depending on the Type chosen below). Only playlist Type support multiple " - "Youtube IDs and they must be separated by commas.", + "description": "Youtube ID(s) of the handle, channel, user, or playlist(s) " + "to ZIM (depending on the Type chosen below). Only playlist Type support " + "multiple Youtube IDs and they must be separated by commas.", }, data_key="id", required=True, @@ -48,9 +48,10 @@ class Meta: kind = StringEnum( metadata={ "label": "Type", - "description": "Type of Youtube ID.", + "description": "Type of Youtube ID. Use channel for handle, channel or " + "user.", }, - validate=validate.OneOf(["channel", "playlist", "user"]), + validate=validate.OneOf(["channel", "playlist"]), data_key="type", required=True, )