summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-18 22:09:57 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-18 22:09:57 +0100
commit53eeea26ed000ef294b8e382e0541c0665870999 (patch)
treeeeb0db3ba058039e0253521b262b6ff8bf079195
parent[ClickAndLoad] Fix freeze after a pyLoad restart (diff)
downloadpyload-53eeea26ed000ef294b8e382e0541c0665870999.tar.xz
[ZippyshareCom] Fix https://github.com/pyload/pyload/issues/1262
-rw-r--r--module/plugins/hoster/ZippyshareCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index f9e112aed..8da0f4942 100644
--- a/module/plugins/hoster/ZippyshareCom.py
+++ b/module/plugins/hoster/ZippyshareCom.py
@@ -11,7 +11,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class ZippyshareCom(SimpleHoster):
__name__ = "ZippyshareCom"
__type__ = "hoster"
- __version__ = "0.76"
+ __version__ = "0.77"
__pattern__ = r'http://www\d{0,2}\.zippyshare\.com/v(/|iew\.jsp.*key=)(?P<KEY>[\w^_]+)'
@@ -23,9 +23,9 @@ class ZippyshareCom(SimpleHoster):
COOKIES = [("zippyshare.com", "ziplocale", "en")]
- NAME_PATTERN = r'("\d{6,}/"[ ]*\+.+?"/|<title>Zippyshare.com - )(?P<N>.+?)("|</title>)'
+ NAME_PATTERN = r'("/|<title>Zippyshare.com - )(?P<N>[^/]+?)("\);|</title>)'
SIZE_PATTERN = r'>Size:.+?">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
- OFFLINE_PATTERN = r'>File does not exist on this server'
+ OFFLINE_PATTERN = r'does not exist (anymore )?on this server<'
LINK_PREMIUM_PATTERN = r"document.location = '(.+?)'"