mirror of
https://github.com/iv-org/invidious.git
synced 2024-08-18 01:53:27 +02:00
Convert array constants to tuples
This commit is contained in:
parent
43b2beeaaf
commit
20e815e757
@ -1,4 +1,4 @@
|
|||||||
CAPTION_LANGUAGES = [
|
CAPTION_LANGUAGES = {
|
||||||
"",
|
"",
|
||||||
"English",
|
"English",
|
||||||
"English (auto-generated)",
|
"English (auto-generated)",
|
||||||
@ -106,9 +106,9 @@ CAPTION_LANGUAGES = [
|
|||||||
"Yiddish",
|
"Yiddish",
|
||||||
"Yoruba",
|
"Yoruba",
|
||||||
"Zulu",
|
"Zulu",
|
||||||
]
|
}
|
||||||
|
|
||||||
VIDEO_THUMBNAILS = [
|
VIDEO_THUMBNAILS = {
|
||||||
{name: "default", url: "default", height: 90, width: 120},
|
{name: "default", url: "default", height: 90, width: 120},
|
||||||
{name: "medium", url: "mqdefault", height: 180, width: 320},
|
{name: "medium", url: "mqdefault", height: 180, width: 320},
|
||||||
{name: "high", url: "hqdefault", height: 360, width: 480},
|
{name: "high", url: "hqdefault", height: 360, width: 480},
|
||||||
@ -117,7 +117,7 @@ VIDEO_THUMBNAILS = [
|
|||||||
{name: "start", url: "1", height: 90, width: 120},
|
{name: "start", url: "1", height: 90, width: 120},
|
||||||
{name: "middle", url: "2", height: 90, width: 120},
|
{name: "middle", url: "2", height: 90, width: 120},
|
||||||
{name: "end", url: "3", height: 90, width: 120},
|
{name: "end", url: "3", height: 90, width: 120},
|
||||||
]
|
}
|
||||||
|
|
||||||
# See https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L380-#L476
|
# See https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L380-#L476
|
||||||
VIDEO_FORMATS = {
|
VIDEO_FORMATS = {
|
||||||
|
Loading…
Reference in New Issue
Block a user