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, )