From 5e2cd8c23ff4d3c1c2142212de4bb4e7cc6d575a Mon Sep 17 00:00:00 2001 From: Jeix Date: Wed, 16 Feb 2011 19:55:00 +0100 Subject: youtube fix, xdccrequest abort dl implemented --- module/plugins/hoster/YoutubeCom.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/hoster') 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) -- cgit v1.2.3