Skip to content

Commit

Permalink
Adjust youtube offliner for v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jul 29, 2024
1 parent ebe4912 commit f844dfd
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions dispatcher/backend/src/common/schemas/offliners/youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit f844dfd

Please sign in to comment.