diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-28 21:50:55 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-11-28 21:50:55 +0100 |
commit | 943fda9091580cf39b1c7f9d7750cffb9ca12d7f (patch) | |
tree | 18b1930974897ac60562132e2cfb8abe705b970b /module | |
parent | closed #435 (diff) | |
parent | OronCom Fix (diff) | |
download | pyload-943fda9091580cf39b1c7f9d7750cffb9ca12d7f.tar.xz |
Merged in nick_de/pyload (pull request #6)
Diffstat (limited to 'module')
-rwxr-xr-x | module/plugins/accounts/OronCom.py | 4 | ||||
-rwxr-xr-x | module/plugins/hoster/OronCom.py | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/module/plugins/accounts/OronCom.py b/module/plugins/accounts/OronCom.py index fdb23c93a..cab5dcd2a 100755 --- a/module/plugins/accounts/OronCom.py +++ b/module/plugins/accounts/OronCom.py @@ -23,11 +23,11 @@ from time import strptime, mktime class OronCom(Account): __name__ = "OronCom" - __version__ = "0.1" + __version__ = "0.11" __type__ = "account" __description__ = """oron.com account plugin""" __author_name__ = ("DHMH") - __author_mail__ = ("oron@pyload.org") + __author_mail__ = ("DHMH@pyload.org") def loadAccountInfo(self, user, req): req.load("http://oron.com/?op=change_lang&lang=german") diff --git a/module/plugins/hoster/OronCom.py b/module/plugins/hoster/OronCom.py index aaf039b3f..6f0b197e9 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.1" + __version__ = "0.11" __description__ = "File Hoster: Oron.com" __author_name__ = ("chrox", "DHMH") __author_mail__ = ("chrox@pyload.org", "DHMH@pyload.org") @@ -48,6 +48,7 @@ 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.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() @@ -68,6 +69,7 @@ class OronCom(Hoster): self.handleFree() def handleFree(self): + req.load("http://oron.com/?op=change_lang&lang=german") 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 |