diff options
author | Jeix <devnull@localhost> | 2011-02-16 19:55:00 +0100 |
---|---|---|
committer | Jeix <devnull@localhost> | 2011-02-16 19:55:00 +0100 |
commit | 5e2cd8c23ff4d3c1c2142212de4bb4e7cc6d575a (patch) | |
tree | c06d1a4f8da4a787fc05ac41d957212bd20023df /module/plugins/hoster/YoutubeCom.py | |
parent | win connection fix (diff) | |
download | pyload-5e2cd8c23ff4d3c1c2142212de4bb4e7cc6d575a.tar.xz |
youtube fix, xdccrequest abort dl implemented
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r-- | module/plugins/hoster/YoutubeCom.py | 4 |
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) |