summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/UploadingCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 17:23:46 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 17:23:46 +0200
commit9cb6b5d05ddcc15148bd5fab0fe02978159cfef5 (patch)
treeab433e4c306e04ee5f30623da3fb3d458fdd31f9 /module/plugins/hoster/UploadingCom.py
parentFix https://github.com/pyload/pyload/issues/1663 (diff)
downloadpyload-9cb6b5d05ddcc15148bd5fab0fe02978159cfef5.tar.xz
Tiny fixes
Diffstat (limited to 'module/plugins/hoster/UploadingCom.py')
-rw-r--r--module/plugins/hoster/UploadingCom.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadingCom.py b/module/plugins/hoster/UploadingCom.py
index ad69c1669..36f0c766e 100644
--- a/module/plugins/hoster/UploadingCom.py
+++ b/module/plugins/hoster/UploadingCom.py
@@ -4,13 +4,14 @@ import pycurl
import re
from module.common.json_layer import json_loads
+from module.plugins.internal.Plugin import encode
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, timestamp
class UploadingCom(SimpleHoster):
__name__ = "UploadingCom"
__type__ = "hoster"
- __version__ = "0.42"
+ __version__ = "0.43"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?uploading\.com/files/(?:get/)?(?P<ID>\w+)'
@@ -61,7 +62,7 @@ class UploadingCom(SimpleHoster):
def handle_free(self, pyfile):
m = re.search('<h2>((Daily )?Download Limit)</h2>', self.html)
if m:
- pyfile.error = m.group(1)
+ pyfile.error = encode(m.group(1))
self.log_warning(pyfile.error)
self.retry(6, (6 * 60 if m.group(2) else 15) * 60, pyfile.error)