From 258a8799f5aa2a4637586bea0276adf969650ccc Mon Sep 17 00:00:00 2001 From: spoob Date: Sun, 15 Aug 2010 22:48:11 +0200 Subject: Youtube Playlist --- module/plugins/hoster/YoutubeCom.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/plugins/hoster/YoutubeCom.py') diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index d92d8d128..79c359ad7 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -32,6 +32,7 @@ class YoutubeCom(Hoster): if self.getConf("quality") == "hd" or self.getConf("quality") == "hq": file_suffix = ".mp4" + name = (re.search(file_name_pattern, html).group(1).replace("/", "") + file_suffix).decode("utf8") pyfile.name = name #.replace("&", "&").replace("ö", "oe").replace("ä", "ae").replace("ü", "ue") -- cgit v1.2.3