Skip to content

Commit

Permalink
Update offliner flags for Youtube 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Oct 11, 2024
1 parent 8f81caf commit 32a7719
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions dispatcher/backend/src/common/schemas/offliners/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
)
Expand Down

0 comments on commit 32a7719

Please sign in to comment.