diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-13 13:12:24 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-13 13:12:24 +0200 |
commit | d3e903ce0079b69f99d47f81aa15a8143f3c9f82 (patch) | |
tree | 1da4db6e391964a97157fa4efde8d15e7a3c2552 | |
parent | [XFSAccount] Error handling support (diff) | |
parent | Euroshare.eu is ok (diff) | |
download | pyload-d3e903ce0079b69f99d47f81aa15a8143f3c9f82.tar.xz |
Merge pull request #2022 from astranCZ/patch-1
Euroshare.eu is ok
-rw-r--r-- | module/plugins/hoster/EuroshareEu.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/EuroshareEu.py b/module/plugins/hoster/EuroshareEu.py index 9ba9b2107..793491b2e 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.32" + __version__ = "0.33" __status__ = "testing" __pattern__ = r'http://(?:www\.)?euroshare\.(eu|sk|cz|hu|pl)/file/.+' @@ -23,7 +23,7 @@ class EuroshareEu(SimpleHoster): INFO_PATTERN = r'<span style="float: left;"><strong>(?P<N>.+?)</strong> \((?P<S>.+?)\)</span>' OFFLINE_PATTERN = ur'<h2>S.bor sa nena.iel</h2>|Požadovaná stránka neexistuje!' - LINK_FREE_PATTERN = r'<a href="(/file/\d+/[^/]*/download/)"><div class="downloadButton"' + LINK_FREE_PATTERN = r'onclick="return checkLoad\(\);" href="(.+?)" class="tlacitko velky"' DL_LIMIT_PATTERN = r'<h2>Prebieha s.ahovanie</h2>|<p>Naraz je z jednej IP adresy mo.n. s.ahova. iba jeden s.bor' ERROR_PATTERN = r'href="/customer-zone/login/"' @@ -57,7 +57,7 @@ class EuroshareEu(SimpleHoster): if m is None: self.error(_("LINK_FREE_PATTERN not found")) - self.link = "http://euroshare.eu%s" % m.group(1) + self.link = m.group(1) getInfo = create_getInfo(EuroshareEu) |