diff options
author | CryNickSystems <d.hardtke@yahoo.de> | 2011-11-28 21:45:09 +0100 |
---|---|---|
committer | CryNickSystems <d.hardtke@yahoo.de> | 2011-11-28 21:45:09 +0100 |
commit | acd49c364917faa963e23e3d10874d19709f0e9c (patch) | |
tree | 9762e244ed4af2806a6af932fb1f4d10bf656a3b /module | |
parent | improved plugin loader, import hook to always use newest plugin versions (diff) | |
download | pyload-acd49c364917faa963e23e3d10874d19709f0e9c.tar.xz |
OronCom Fix
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 |