summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/WuploadCom.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-16 20:45:10 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-01-16 20:45:10 +0100
commitc313ffba1a9b1dcec92ab6959c1e9d3fa853df78 (patch)
tree3f60a947308a10dec2e6550876909247596c9a28 /module/plugins/hoster/WuploadCom.py
parentcorrect utf8 conversion for urls (diff)
parentmerge in plugin updates (diff)
downloadpyload-c313ffba1a9b1dcec92ab6959c1e9d3fa853df78.tar.xz
Merge
Diffstat (limited to 'module/plugins/hoster/WuploadCom.py')
-rw-r--r--module/plugins/hoster/WuploadCom.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/WuploadCom.py b/module/plugins/hoster/WuploadCom.py
index 11b61ae59..ffb082cbe 100644
--- a/module/plugins/hoster/WuploadCom.py
+++ b/module/plugins/hoster/WuploadCom.py
@@ -3,11 +3,12 @@
import re
import string
+from urllib import unquote
from types import MethodType
from module.plugins.Hoster import Hoster
-from module.plugins.Plugin import chunks
+from module.utils import chunks
from module.network.RequestFactory import getURL
from module.common.json_layer import json_loads
@@ -31,7 +32,7 @@ def getInfo(urls):
if item["status"] != "AVAILABLE":
result.append((None, 0, 1, ids[str(item["id"])]))
else:
- result.append((item["filename"], item["size"], 2, ids[str(item["id"])]))
+ result.append((unquote(item["filename"]), item["size"], 2, ids[str(item["id"])]))
yield result
@@ -47,7 +48,7 @@ class WuploadCom(Hoster):
__name__ = "WuploadCom"
__type__ = "hoster"
__pattern__ = r"http://[\w\.]*?wupload\..*?/file/(([a-z][0-9]+/)?[0-9]+)(/.*)?"
- __version__ = "0.1"
+ __version__ = "0.2"
__description__ = """Wupload com"""
__author_name__ = ("jeix", "paulking")
__author_mail__ = ("jeix@hasnomail.de", "")