Skip to content

Commit

Permalink
Merge pull request #1003 from openzim/youtube_3
Browse files Browse the repository at this point in the history
Adjust youtube offliner for v3.0.0
  • Loading branch information
benoit74 authored Jul 29, 2024
2 parents ebe4912 + f844dfd commit 6767766
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 6767766

Please sign in to comment.