summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OronCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/OronCom.py')
-rwxr-xr-xmodule/plugins/hoster/OronCom.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/module/plugins/hoster/OronCom.py b/module/plugins/hoster/OronCom.py
index 6f0b197e9..e3e157a6d 100755
--- a/module/plugins/hoster/OronCom.py
+++ b/module/plugins/hoster/OronCom.py
@@ -33,7 +33,7 @@ class OronCom(Hoster):
__name__ = "OronCom"
__type__ = "hoster"
__pattern__ = r"http://(?:www.)?oron.com/"
- __version__ = "0.11"
+ __version__ = "0.12"
__description__ = "File Hoster: Oron.com"
__author_name__ = ("chrox", "DHMH")
__author_mail__ = ("chrox@pyload.org", "DHMH@pyload.org")
@@ -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
@@ -144,4 +146,4 @@ class OronCom(Hoster):
self.html = self.load(post_url, post=post_dict, ref=False, decode=True).encode("utf-8")
link = re.search('href="(.*?)" class="atitle"', self.html).group(1)
- self.download(link) \ No newline at end of file
+ self.download(link)