From b374213e3fe9b6573a4fc4146480724ac2c56f2e Mon Sep 17 00:00:00 2001 From: zoidberg10 Date: Mon, 19 Nov 2012 21:05:07 +0100 Subject: Update hellshare.cz, add boltsharing.com --- module/plugins/hoster/BoltsharingCom.py | 15 +++++++++++++++ module/plugins/hoster/HellshareCz.py | 21 +++------------------ module/plugins/hoster/XFileSharingPro.py | 4 ++-- 3 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 module/plugins/hoster/BoltsharingCom.py (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/BoltsharingCom.py b/module/plugins/hoster/BoltsharingCom.py new file mode 100644 index 000000000..2f42c8b23 --- /dev/null +++ b/module/plugins/hoster/BoltsharingCom.py @@ -0,0 +1,15 @@ +# -*- coding: utf-8 -*- +from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo + +class BoltsharingCom(XFileSharingPro): + __name__ = "BoltsharingCom" + __type__ = "hoster" + __pattern__ = r"http://(?:\w*\.)*?boltsharing.com/\w{12}" + __version__ = "0.01" + __description__ = """Boltsharing.com hoster plugin""" + __author_name__ = ("zoidberg") + __author_mail__ = ("zoidberg@mujmail.cz") + + HOSTER_NAME = "boltsharing.com" + +getInfo = create_getInfo(BoltsharingCom) diff --git a/module/plugins/hoster/HellshareCz.py b/module/plugins/hoster/HellshareCz.py index fd9f2ac32..aa494e34e 100644 --- a/module/plugins/hoster/HellshareCz.py +++ b/module/plugins/hoster/HellshareCz.py @@ -25,17 +25,13 @@ class HellshareCz(SimpleHoster): __name__ = "HellshareCz" __type__ = "hoster" __pattern__ = r"(http://(?:.*\.)*hellshare\.(?:cz|com|sk|hu|pl)/[^?]*/\d+).*" - __version__ = "0.81" + __version__ = "0.82" __description__ = """Hellshare.cz - premium only""" __author_name__ = ("zoidberg") - PREMIUM_URL_PATTERN = r"launchFullDownload\('([^']*)'\);" FILE_NAME_PATTERN = r'

]*>(?P[^<]+)

' FILE_SIZE_PATTERN = r'(?P[0-9.]*) (?P[kKMG])i?B' FILE_OFFLINE_PATTERN = r'

File not found.

' - #FILE_CREDITS_PATTERN = r'(\d+) MB' - CREDIT_LEFT_PATTERN = r'(\d+)credits' - DOWNLOAD_AGAIN_PATTERN = r'

This file you downloaded already and re-download is for free.

' SHOW_WINDOW_PATTERN = r'