From 87069d00c9489fc7b885d9148f308e7f24f5f20b Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Tue, 6 Mar 2012 01:45:19 +0100 Subject: bayfiles.com premium, fix hellshare.cz --- module/plugins/hoster/HellshareCz.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'module/plugins/hoster/HellshareCz.py') diff --git a/module/plugins/hoster/HellshareCz.py b/module/plugins/hoster/HellshareCz.py index cc8341f8e..0add79ed9 100644 --- a/module/plugins/hoster/HellshareCz.py +++ b/module/plugins/hoster/HellshareCz.py @@ -26,7 +26,7 @@ class HellshareCz(SimpleHoster): __name__ = "HellshareCz" __type__ = "hoster" __pattern__ = r"(http://(?:.*\.)*hellshare\.(?:cz|com|sk|hu)/[^?]*/\d+).*" - __version__ = "0.76" + __version__ = "0.77" __description__ = """Hellshare.cz""" __author_name__ = ("zoidberg") @@ -46,18 +46,15 @@ class HellshareCz(SimpleHoster): self.chunkLimit = 1 def process(self, pyfile): - if self.account: - self.account.relogin(self.user) - pyfile.url = re.search(self.__pattern__, pyfile.url).group(1) self.html = self.load(pyfile.url, decode = True) self.getFileInfo() found = re.search(self.SHOW_WINDOW_PATTERN, self.html) if not found: self.parseError('SHOW WINDOW') - url = found.group(1) - self.logDebug("SHOW WINDOW: " + url) - self.html = self.load("http://download.hellshare.com" + url, decode=True) + self.url = "http://www.hellshare.com" + found.group(1) + self.logDebug("SHOW WINDOW: " + self.url) + self.html = self.load(self.url, decode=True) if self.account: self.handlePremium() -- cgit v1.2.3