diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-11 04:59:24 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-11 04:59:24 +0100 |
commit | 689f87ba392dcfbc8eb34a4c445bbca6ec16f739 (patch) | |
tree | d432eae9cbe77f94d2eb3c4f725a190a0479afb3 | |
parent | [FileStoreTo] Fix https://github.com/pyload/pyload/issues/1167 (diff) | |
download | pyload-689f87ba392dcfbc8eb34a4c445bbca6ec16f739.tar.xz |
[UploadedTo] Fix setup
-rw-r--r-- | module/plugins/hoster/UploadedTo.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/UploadedTo.py b/module/plugins/hoster/UploadedTo.py index c83814198..2c549f5ba 100644 --- a/module/plugins/hoster/UploadedTo.py +++ b/module/plugins/hoster/UploadedTo.py @@ -12,7 +12,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class UploadedTo(SimpleHoster): __name__ = "UploadedTo" __type__ = "hoster" - __version__ = "0.82" + __version__ = "0.83" __pattern__ = r'https?://(?:www\.)?(uploaded\.(to|net)|ul\.to)(/file/|/?\?id=|.*?&id=|/)(?P<ID>\w+)' @@ -56,7 +56,6 @@ class UploadedTo(SimpleHoster): def setup(self): self.multiDL = self.resumeDownload = self.premium self.chunkLimit = 1 # critical problems with more chunks - self.load("http://uploaded.net/language/en", just_header=True) def checkErrors(self): @@ -88,6 +87,8 @@ class UploadedTo(SimpleHoster): def handleFree(self, pyfile): + self.load("http://uploaded.net/language/en", just_header=True) + self.html = self.load("http://uploaded.net/js/download.js", decode=True) recaptcha = ReCaptcha(self) |