Skip to content

Commit

Permalink
Merge pull request #1028 from openzim/youtube_3_2_0
Browse files Browse the repository at this point in the history
Update offliner flags for Youtube 3.2.0
  • Loading branch information
benoit74 authored Oct 11, 2024
2 parents 8f81caf + 32a7719 commit cb321a6
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 cb321a6

Please sign in to comment.