diff options
Diffstat (limited to 'module/plugins/hoster/OronCom.py')
-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 |