summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/EuroshareEu.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-09-27 11:04:57 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2011-09-27 11:04:57 +0200
commita159147ae67249279677d51ff348c0c7c70f0b1d (patch)
tree5fbbf2b7ebcb6e435a35b1488a0173beb39ab577 /module/plugins/hoster/EuroshareEu.py
parentplugins: czshare premium, czshare/quickshare/filefactory folders (diff)
downloadpyload-a159147ae67249279677d51ff348c0c7c70f0b1d.tar.xz
plugins: fix czshare premium, add ifolder.ru, share-rapid.com by MikyWoW
Diffstat (limited to 'module/plugins/hoster/EuroshareEu.py')
-rw-r--r--module/plugins/hoster/EuroshareEu.py9
1 files changed, 4 insertions, 5 deletions
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'<a class="free" href="([^"]+)"></a>'
- FILE_OFFLINE_PATTERN = r'<h2>S�bor sa nena.iel</h2>'
+ FILE_OFFLINE_PATTERN = r'<h2>S.bor sa nena.iel</h2>'
ERR_PARDL_PATTERN = r'<h2>Prebieha s.ahovanie</h2>'
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