From 7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 7 Mar 2011 17:24:58 +0100 Subject: Youtube fix, thrift java fix --- module/plugins/hoster/YoutubeCom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index 34d757ac0..8f8098efb 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -17,12 +17,12 @@ class YoutubeCom(Hoster): def process(self, pyfile): html = self.load(pyfile.url) - + if re.search(r"(.*eine fehlerhafte Video-ID\.)", html) is not None: self.offline() videoId = pyfile.url.split("v=")[1].split("&")[0] - videoHash = re.search(r'&t=(.+?)&', html).group(1) + videoHash = re.search(r'&t=(.+?)&', html).group(1) file_name_pattern = '' -- cgit v1.2.3