summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar astranCZ <martin.hromadko@gmail.com> 2015-10-13 13:26:14 +0200
committerGravatar astranCZ <martin.hromadko@gmail.com> 2015-10-13 13:26:14 +0200
commit5acace16f4f78c987a1183e04f5309ea78bfa26f (patch)
tree2fbe2bf0e8d41030f7ca335c0c52b7dd3a95070e /module/plugins/hoster
parentMerge pull request #2019 from GammaC0de/patch-6 (diff)
downloadpyload-5acace16f4f78c987a1183e04f5309ea78bfa26f.tar.xz
Fix EuroshareEu
Fix NAME_PATTERN and SIZE_PATTERN
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/EuroshareEu.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py
index 793491b2e..7ec6dc428 100644
--- a/module/plugins/hoster/EuroshareEu.py
+++ b/module/plugins/hoster/EuroshareEu.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class EuroshareEu(SimpleHoster):
__name__ = "EuroshareEu"
__type__ = "hoster"
- __version__ = "0.33"
+ __version__ = "0.34"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?euroshare\.(eu|sk|cz|hu|pl)/file/.+'
@@ -20,7 +20,9 @@ class EuroshareEu(SimpleHoster):
__authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
- INFO_PATTERN = r'<span style="float: left;"><strong>(?P<N>.+?)</strong> \((?P<S>.+?)\)</span>'
+ NAME_PATTERN = r'<h1 class="nazev-souboru">(?P<N>.+?)</h1>'
+ SIZE_PATTERN = r'<p class="posledni vpravo">.*\| (?P<S>.+?) (?P<U>.+?)</p>'
+
OFFLINE_PATTERN = ur'<h2>S.bor sa nena.iel</h2>|Požadovaná stránka neexistuje!'
LINK_FREE_PATTERN = r'onclick="return checkLoad\(\);" href="(.+?)" class="tlacitko velky"'