diff options
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))
|