summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-09-19 15:24:41 -0500
committerOmar Roth <omarroth@hotmail.com>2018-09-19 15:24:41 -0500
commitfe5286a210425a41e3ec36533fdc06681ded3799 (patch)
treeda38411f4c1eccaeb1a15a08a47af6565e23c3de /src
parentbb604c892572f7f95c5742d303f38e0edb653f13 (diff)
downloadinvidious-fe5286a210425a41e3ec36533fdc06681ded3799.tar.gz
invidious-fe5286a210425a41e3ec36533fdc06681ded3799.tar.bz2
invidious-fe5286a210425a41e3ec36533fdc06681ded3799.zip
Add 'maxres' to video thumbnails
Diffstat (limited to 'src')
-rw-r--r--src/invidious/videos.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr
index 668b58bf..c90f3582 100644
--- a/src/invidious/videos.cr
+++ b/src/invidious/videos.cr
@@ -112,6 +112,7 @@ REGIONS = {"AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "A
BYPASS_REGIONS = {"CA", "DE", "FR", "JP", "RU", "UK"}
VIDEO_THUMBNAILS = {
+ {name: "maxres", url: "maxres", height: 720, width: 1280},
{name: "maxresdefault", url: "maxresdefault", height: 720, width: 1280},
{name: "sddefault", url: "sddefault", height: 480, width: 640},
{name: "high", url: "hqdefault", height: 360, width: 480},