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/plugins/hoster/OronCom.py | |
parent | improved plugin loader, import hook to always use newest plugin versions (diff) | |
download | pyload-acd49c364917faa963e23e3d10874d19709f0e9c.tar.xz |
OronCom Fix
Diffstat (limited to 'module/plugins/hoster/OronCom.py')
-rwxr-xr-x | module/plugins/hoster/OronCom.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |