summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r--module/plugins/hoster/YoutubeCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py
index 0616d6dc1..34d757ac0 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -42,7 +42,9 @@ class YoutubeCom(Hoster):
if self.getConf("quality") == "sd":
desired_fmt = "6"
elif self.getConf("quality") == "hd" and hd_available:
- desired_fmt = "2"
+ desired_fmt = "22"
+ elif self.getConf("quality") == "fullhd" and hd_available:
+ desired_fmt = "37"
fmt_pattern = 'fmt_url_map=(.+?)&'
fmt_url_map = re.search(fmt_pattern, html).group(1)