diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-07 17:24:58 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-07 17:24:58 +0100 |
commit | 7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b (patch) | |
tree | e29b68a6b07374e4cd150552790c262d73aaf2d3 /module/plugins/hoster | |
parent | fixed captcha status response (diff) | |
download | pyload-7dff8bc5fbb97bfd10d6568f78cd9354ac0be30b.tar.xz |
Youtube fix, thrift java fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/YoutubeCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 = '<meta name="title" content="(.+?)">' |