diff options
| author | 2011-12-17 20:11:04 +0100 | |
|---|---|---|
| committer | 2011-12-17 20:11:04 +0100 | |
| commit | aa2bf1904d9059ad3a592f64ac3251294586302e (patch) | |
| tree | 29fd72c7bee7dee202cac08c549cbb31d948099f | |
| parent | improve share-online (diff) | |
| download | pyload-aa2bf1904d9059ad3a592f64ac3251294586302e.tar.xz | |
OronCom fix
| -rwxr-xr-x | module/plugins/hoster/OronCom.py | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/module/plugins/hoster/OronCom.py b/module/plugins/hoster/OronCom.py index 6f0b197e9..d2d116a04 100755 --- a/module/plugins/hoster/OronCom.py +++ b/module/plugins/hoster/OronCom.py @@ -48,7 +48,8 @@ class OronCom(Hoster):          self.pyfile.url = "http://oron.com/" + self.file_id      def process(self, pyfile): -        req.load("http://oron.com/?op=change_lang&lang=german") +        #self.load("http://oron.com/?op=change_lang&lang=german") +        # already logged in, so the above line shouldn't be necessary          self.html = self.load(self.pyfile.url, ref=False, decode=True).encode("utf-8").replace("\n", "")          if "File could not be found" in self.html or "Datei nicht gefunden" in self.html:              self.offline() @@ -69,7 +70,8 @@ class OronCom(Hoster):              self.handleFree()      def handleFree(self): -        req.load("http://oron.com/?op=change_lang&lang=german") +        #self.load("http://oron.com/?op=change_lang&lang=german") +        # already logged in, so the above line shouldn't be necessary          self.html = self.load(self.pyfile.url, ref=False, decode=True).replace("\n", "")          if "download1" in self.html:              post_url = "http://oron.com/" + self.file_id | 
