summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ZippyshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 00:18:36 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-01 00:18:36 +0100
commit768c648aa232195ab5a027c287bcbd2966401449 (patch)
tree4b4130ff12aaf17e82f1bc2dbddbce02fd7f435e /module/plugins/hoster/ZippyshareCom.py
parent[IRCInterface] Initial SSL Support (diff)
downloadpyload-768c648aa232195ab5a027c287bcbd2966401449.tar.xz
[ZippyshareCom] Fix FILE_NAME_PATTERN (thx zapp-brannigan)
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r--module/plugins/hoster/ZippyshareCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py
index 4201d0eaf..c12322823 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.53"
+ __version__ = "0.54"
__pattern__ = r'(?P<HOST>http://www\d{0,2}\.zippyshare\.com)/v(?:/|iew\.jsp.*key=)(?P<KEY>\d+)'
@@ -20,7 +20,7 @@ class ZippyshareCom(SimpleHoster):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- FILE_NAME_PATTERN = r'var \w+ = .+ \+ "/(?P<N>.+)";'
+ FILE_NAME_PATTERN = r'<title>Zippyshare.com - (?P<N>.+)</title>'
FILE_SIZE_PATTERN = r'>Size:.+?">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
OFFLINE_PATTERN = r'>File does not exist on this server<'