summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FileserveCom.py
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-11-25 16:05:46 +0100
committerGravatar Jeix <devnull@localhost> 2010-11-25 16:05:46 +0100
commit9634986056648e958117b053f50b6d6a3326da5e (patch)
treedfb1f91e2616b9c83b2496ef133e6c403c20ba9f /module/plugins/hoster/FileserveCom.py
parentdepositfiles fix2 (diff)
downloadpyload-9634986056648e958117b053f50b6d6a3326da5e.tar.xz
fileserve, prefetch fix
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r--module/plugins/hoster/FileserveCom.py4
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))