From a159147ae67249279677d51ff348c0c7c70f0b1d Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Tue, 27 Sep 2011 11:04:57 +0200 Subject: plugins: fix czshare premium, add ifolder.ru, share-rapid.com by MikyWoW --- module/plugins/hoster/EuroshareEu.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster/EuroshareEu.py') diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py index 1cb58bc3f..a0bfe0ab2 100644 --- a/module/plugins/hoster/EuroshareEu.py +++ b/module/plugins/hoster/EuroshareEu.py @@ -24,6 +24,7 @@ def getInfo(urls): result = [] for url in urls: + html = getURL(url, decode=True) if re.search(EuroshareEu.FILE_OFFLINE_PATTERN, html): # File offline @@ -32,17 +33,16 @@ def getInfo(urls): result.append((url, 0, 2, url)) yield result - class EuroshareEu(Hoster): __name__ = "EuroshareEu" __type__ = "hoster" __pattern__ = r"http://(\w*\.)?euroshare.eu/file/.*" - __version__ = "0.2" + __version__ = "0.2b" __description__ = """Euroshare.eu""" __author_name__ = ("zoidberg") URL_PATTERN = r'' - FILE_OFFLINE_PATTERN = r'

S�bor sa nena.iel

' + FILE_OFFLINE_PATTERN = r'

S.bor sa nena.iel

' ERR_PARDL_PATTERN = r'

Prebieha s.ahovanie

' def setup(self): @@ -67,5 +67,4 @@ class EuroshareEu(Hoster): def waitForFreeSlot(self): self.setWait(300, True) self.wait() - self.retry() - \ No newline at end of file + self.retry() \ No newline at end of file -- cgit v1.2.3