diff options
author | Jeix <devnull@localhost> | 2010-11-25 16:05:46 +0100 |
---|---|---|
committer | Jeix <devnull@localhost> | 2010-11-25 16:05:46 +0100 |
commit | 9634986056648e958117b053f50b6d6a3326da5e (patch) | |
tree | dfb1f91e2616b9c83b2496ef133e6c403c20ba9f /module/plugins/hoster | |
parent | depositfiles fix2 (diff) | |
download | pyload-9634986056648e958117b053f50b6d6a3326da5e.tar.xz |
fileserve, prefetch fix
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/FileserveCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 39430aef6..d53388d91 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -19,9 +19,9 @@ def getInfo(urls): result.append((url, 0, 1, url))
continue
- size = re.search(r"<span><strong>(.*?) MB</strong>", html).group(1)
+ size = re.search(r'<span style="float: left;"><strong>(.*?) MB</strong>', html).group(1)
size = int(float(size)*1024*1024)
-
+
name = re.search('<h1>(.*?)<br/></h1>', html).group(1)
result.append((name, size, 2, url))
|