diff options
Diffstat (limited to 'module/plugins/hoster')
22 files changed, 61 insertions, 25 deletions
diff --git a/module/plugins/hoster/CramitIn.py b/module/plugins/hoster/CramitIn.py index e41ff0dd2..bf3c7cd54 100644 --- a/module/plugins/hoster/CramitIn.py +++ b/module/plugins/hoster/CramitIn.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class CramitIn(XFSHoster):      __name__    = "CramitIn"      __type__    = "hoster" -    __version__ = "0.09" +    __version__ = "0.10"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?cramit\.in/\w{12}' @@ -17,8 +17,9 @@ class CramitIn(XFSHoster):      __authors__     = [("zoidberg", "zoidberg@mujmail.cz")] -    INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)' +    PLUGIN_DOMAIN = "cramit.in" +    INFO_PATTERN = r'<span class=t2>\s*(?P<N>.*?)</span>.*?<small>\s*\((?P<S>.*?)\)'      LINK_PATTERN = r'href="(http://cramit\.in/file_download/.*?)"' diff --git a/module/plugins/hoster/EasybytezCom.py b/module/plugins/hoster/EasybytezCom.py index b89e69104..3773a1f9f 100644 --- a/module/plugins/hoster/EasybytezCom.py +++ b/module/plugins/hoster/EasybytezCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class EasybytezCom(XFSHoster):      __name__    = "EasybytezCom"      __type__    = "hoster" -    __version__ = "0.25" +    __version__ = "0.26"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?easybytez\.com/\w{12}' @@ -18,6 +18,8 @@ class EasybytezCom(XFSHoster):                         ("stickell", "l.stickell@yahoo.it")] +    PLUGIN_DOMAIN = "easybytez.com" +      OFFLINE_PATTERN = r'>File not available'      LINK_PATTERN = r'(http://(\w+\.(easybytez|easyload|ezbytez|zingload)\.(com|to)|\d+\.\d+\.\d+\.\d+)/files/\d+/\w+/.+?)["\'<]' diff --git a/module/plugins/hoster/ExashareCom.py b/module/plugins/hoster/ExashareCom.py index ac8ed999b..c25e20d1c 100644 --- a/module/plugins/hoster/ExashareCom.py +++ b/module/plugins/hoster/ExashareCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class ExashareCom(XFSHoster):      __name__    = "ExashareCom"      __type__    = "hoster" -    __version__ = "0.03" +    __version__ = "0.04"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?exashare\.com/\w{12}' @@ -19,7 +19,9 @@ class ExashareCom(XFSHoster):      __authors__     = [("Walter Purcaro", "vuolter@gmail.com")] -    INFO_PATTERN      = r'>(?P<NAME>.+?)<small>\( (?P<S>[\d.,]+) (?P<U>[\w^_]+)' +    PLUGIN_DOMAIN = "exashare.com" + +    INFO_PATTERN = r'>(?P<NAME>.+?)<small>\( (?P<S>[\d.,]+) (?P<U>[\w^_]+)'      def setup(self): diff --git a/module/plugins/hoster/FileomCom.py b/module/plugins/hoster/FileomCom.py index ab886992a..e29cbe4ba 100644 --- a/module/plugins/hoster/FileomCom.py +++ b/module/plugins/hoster/FileomCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class FileomCom(XFSHoster):      __name__    = "FileomCom"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?fileom\.com/\w{12}' @@ -20,6 +20,8 @@ class FileomCom(XFSHoster):      __authors__     = [("Walter Purcaro", "vuolter@gmail.com")] +    PLUGIN_DOMAIN = "fileom.com" +      NAME_PATTERN = r'Filename: <span>(?P<N>.+?)<'      SIZE_PATTERN = r'File Size: <span class="size">(?P<S>[\d.,]+) (?P<U>[\w^_]+)' diff --git a/module/plugins/hoster/FilerioCom.py b/module/plugins/hoster/FilerioCom.py index a943b4cad..cbaa18468 100644 --- a/module/plugins/hoster/FilerioCom.py +++ b/module/plugins/hoster/FilerioCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class FilerioCom(XFSHoster):      __name__    = "FilerioCom"      __type__    = "hoster" -    __version__ = "0.09" +    __version__ = "0.10"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?(filerio\.(in|com)|filekeen\.com)/\w{12}' @@ -17,6 +17,8 @@ class FilerioCom(XFSHoster):      __authors__     = [("zoidberg", "zoidberg@mujmail.cz")] +    PLUGIN_DOMAIN = "filerio.com" +      URL_REPLACEMENTS = [(r'filekeen\.com', "filerio.in")]      OFFLINE_PATTERN = r'>"File Not Found|File has been removed' diff --git a/module/plugins/hoster/FshareVn.py b/module/plugins/hoster/FshareVn.py index cf6a8b9c0..156a44128 100644 --- a/module/plugins/hoster/FshareVn.py +++ b/module/plugins/hoster/FshareVn.py @@ -23,7 +23,7 @@ def double_decode(m):  class FshareVn(SimpleHoster):      __name__    = "FshareVn"      __type__    = "hoster" -    __version__ = "0.22" +    __version__ = "0.23"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?fshare\.vn/file/.+' @@ -38,7 +38,7 @@ class FshareVn(SimpleHoster):      INFO_PATTERN = r'<p>(?P<N>[^<]+)<\\/p>[\\trn\s]*<p>(?P<S>[\d.,]+)\s*(?P<U>[\w^_]+)<\\/p>'      OFFLINE_PATTERN = r'<div class=\\"f_left file_w\\"|<\\/p>\\t\\t\\t\\t\\r\\n\\t\\t<p><\\/p>\\t\\t\\r\\n\\t\\t<p>0 KB<\\/p>' -    NAME_REPLACEMENTS = [("(.*)", doubleDecode)] +    NAME_REPLACEMENTS = [("(.*)", double_decode)]      LINK_FREE_PATTERN = r'action="(http://download.*?)[#"]'      WAIT_PATTERN = ur'Lượt tải xuống kế tiếp là:\s*(.*?)\s*<' diff --git a/module/plugins/hoster/HugefilesNet.py b/module/plugins/hoster/HugefilesNet.py index 90391a4e2..c9b39603d 100644 --- a/module/plugins/hoster/HugefilesNet.py +++ b/module/plugins/hoster/HugefilesNet.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class HugefilesNet(XFSHoster):      __name__    = "HugefilesNet"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?hugefiles\.net/\w{12}' @@ -19,6 +19,8 @@ class HugefilesNet(XFSHoster):      __authors__     = [("stickell", "l.stickell@yahoo.it")] +    PLUGIN_DOMAIN = "hugefiles.net" +      SIZE_PATTERN = r'File Size:</span>\s*<span.*?>(?P<S>[^<]+)</span></div>'      FORM_INPUTS_MAP = {'ctype': re.compile(r'\d+')} diff --git a/module/plugins/hoster/HundredEightyUploadCom.py b/module/plugins/hoster/HundredEightyUploadCom.py index 00bd9d0cc..6cc9cd9f1 100644 --- a/module/plugins/hoster/HundredEightyUploadCom.py +++ b/module/plugins/hoster/HundredEightyUploadCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class HundredEightyUploadCom(XFSHoster):      __name__    = "HundredEightyUploadCom"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?180upload\.com/\w{12}' @@ -17,6 +17,8 @@ class HundredEightyUploadCom(XFSHoster):      __authors__     = [("stickell", "l.stickell@yahoo.it")] +    PLUGIN_DOMAIN = "180upload.com" +      OFFLINE_PATTERN = r'>File Not Found' diff --git a/module/plugins/hoster/JunocloudMe.py b/module/plugins/hoster/JunocloudMe.py index 63b430f2b..ad8c5b1c4 100644 --- a/module/plugins/hoster/JunocloudMe.py +++ b/module/plugins/hoster/JunocloudMe.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class JunocloudMe(XFSHoster):      __name__    = "JunocloudMe"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'http://(?:\w+\.)?junocloud\.me/\w{12}' @@ -17,6 +17,8 @@ class JunocloudMe(XFSHoster):      __authors__     = [("guidobelix", "guidobelix@hotmail.it")] +    PLUGIN_DOMAIN = "junocloud.me" +      URL_REPLACEMENTS = [(r'//(www\.)?junocloud', "//dl3.junocloud")]      OFFLINE_PATTERN      = r'>No such file with this filename<' diff --git a/module/plugins/hoster/MediafireCom.py b/module/plugins/hoster/MediafireCom.py index 5eac08291..4870a10cd 100644 --- a/module/plugins/hoster/MediafireCom.py +++ b/module/plugins/hoster/MediafireCom.py @@ -34,7 +34,7 @@ class MediafireCom(SimpleHoster):      def setup(self):          self.resume_download = True -        self.multiDL        = True +        self.multiDL         = True      def handle_captcha(self): diff --git a/module/plugins/hoster/MovReelCom.py b/module/plugins/hoster/MovReelCom.py index 86d1b2106..ab114240f 100644 --- a/module/plugins/hoster/MovReelCom.py +++ b/module/plugins/hoster/MovReelCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class MovReelCom(XFSHoster):      __name__    = "MovReelCom"      __type__    = "hoster" -    __version__ = "1.26" +    __version__ = "1.27"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?movreel\.com/\w{12}' @@ -17,6 +17,8 @@ class MovReelCom(XFSHoster):      __authors__     = [("JorisV83", "jorisv83-pyload@yahoo.com")] +    PLUGIN_DOMAIN = "movreel.com" +      LINK_PATTERN = r'<a href="(.+?)">Download Link' diff --git a/module/plugins/hoster/NosuploadCom.py b/module/plugins/hoster/NosuploadCom.py index 3b726b904..43eb9f5a1 100644 --- a/module/plugins/hoster/NosuploadCom.py +++ b/module/plugins/hoster/NosuploadCom.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class NosuploadCom(XFSHoster):      __name__    = "NosuploadCom"      __type__    = "hoster" -    __version__ = "0.33" +    __version__ = "0.34"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?nosupload\.com/\?d=\w{12}' @@ -19,6 +19,8 @@ class NosuploadCom(XFSHoster):      __authors__     = [("igel", "igelkun@myopera.com")] +    PLUGIN_DOMAIN = "nosupload.com" +      SIZE_PATTERN = r'<p><strong>Size:</strong> (?P<S>[\d.,]+) (?P<U>[\w^_]+)</p>'      LINK_PATTERN = r'<a class="select" href="(http://.+?)">Download</a>' diff --git a/module/plugins/hoster/NovafileCom.py b/module/plugins/hoster/NovafileCom.py index 0d83a8aee..6d07bbc1a 100644 --- a/module/plugins/hoster/NovafileCom.py +++ b/module/plugins/hoster/NovafileCom.py @@ -10,7 +10,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class NovafileCom(XFSHoster):      __name__    = "NovafileCom"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?novafile\.com/\w{12}' @@ -22,6 +22,8 @@ class NovafileCom(XFSHoster):                         ("stickell", "l.stickell@yahoo.it")] +    PLUGIN_DOMAIN = "novafile.com" +      ERROR_PATTERN = r'class="alert.+?alert-separate".*?>\s*(?:<p>)?(.*?)\s*</'      WAIT_PATTERN  = r'<p>Please wait <span id="count".*?>(\d+)</span> seconds</p>' diff --git a/module/plugins/hoster/RapidfileshareNet.py b/module/plugins/hoster/RapidfileshareNet.py index 4f139d443..a0580ba23 100644 --- a/module/plugins/hoster/RapidfileshareNet.py +++ b/module/plugins/hoster/RapidfileshareNet.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class RapidfileshareNet(XFSHoster):      __name__    = "RapidfileshareNet"      __type__    = "hoster" -    __version__ = "0.05" +    __version__ = "0.06"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?rapidfileshare\.net/\w{12}' @@ -17,6 +17,8 @@ class RapidfileshareNet(XFSHoster):      __authors__     = [("guidobelix", "guidobelix@hotmail.it")] +    PLUGIN_DOMAIN = "rapidfileshare.net" +      NAME_PATTERN = r'<input type="hidden" name="fname" value="(?P<N>.+?)">'      SIZE_PATTERN = r'>http://www.rapidfileshare.net/\w+?</font> \((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)</font>' diff --git a/module/plugins/hoster/RarefileNet.py b/module/plugins/hoster/RarefileNet.py index 339bcdf6f..2ca48e818 100644 --- a/module/plugins/hoster/RarefileNet.py +++ b/module/plugins/hoster/RarefileNet.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class RarefileNet(XFSHoster):      __name__    = "RarefileNet"      __type__    = "hoster" -    __version__ = "0.11" +    __version__ = "0.12"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}' @@ -19,6 +19,8 @@ class RarefileNet(XFSHoster):      __authors__     = [("zoidberg", "zoidberg@mujmail.cz")] +    PLUGIN_DOMAIN = "rarefile.net" +      LINK_PATTERN = r'<a href="(.+?)">\1</a>' diff --git a/module/plugins/hoster/SafesharingEu.py b/module/plugins/hoster/SafesharingEu.py index 73d458e24..62c7c21b9 100644 --- a/module/plugins/hoster/SafesharingEu.py +++ b/module/plugins/hoster/SafesharingEu.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class SafesharingEu(XFSHoster):      __name__    = "SafesharingEu"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?safesharing\.eu/\w{12}' @@ -17,6 +17,8 @@ class SafesharingEu(XFSHoster):      __authors__     = [("zapp-brannigan", "fuerst.reinje@web.de")] +    PLUGIN_DOMAIN = "safesharing.eu" +      ERROR_PATTERN = r'(?:<div class="alert alert-danger">)(.+?)(?:</div>)' diff --git a/module/plugins/hoster/SecureUploadEu.py b/module/plugins/hoster/SecureUploadEu.py index af59f5f3a..7d11107da 100644 --- a/module/plugins/hoster/SecureUploadEu.py +++ b/module/plugins/hoster/SecureUploadEu.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class SecureUploadEu(XFSHoster):      __name__    = "SecureUploadEu"      __type__    = "hoster" -    __version__ = "0.07" +    __version__ = "0.08"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?secureupload\.eu/\w{12}' @@ -17,6 +17,8 @@ class SecureUploadEu(XFSHoster):      __authors__     = [("z00nx", "z00nx0@gmail.com")] +    PLUGIN_DOMAIN = "secureupload.eu" +      INFO_PATTERN = r'<h3>Downloading (?P<N>[^<]+) \((?P<S>[^<]+)\)</h3>' diff --git a/module/plugins/hoster/StreamcloudEu.py b/module/plugins/hoster/StreamcloudEu.py index a440ebc88..be72b8a26 100644 --- a/module/plugins/hoster/StreamcloudEu.py +++ b/module/plugins/hoster/StreamcloudEu.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class StreamcloudEu(XFSHoster):      __name__    = "StreamcloudEu"      __type__    = "hoster" -    __version__ = "0.12" +    __version__ = "0.13"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?streamcloud\.eu/\w{12}' @@ -19,6 +19,8 @@ class StreamcloudEu(XFSHoster):      __authors__     = [("seoester", "seoester@googlemail.com")] +    PLUGIN_DOMAIN = "streamcloud.eu" +      WAIT_PATTERN = r'var count = (\d+)' diff --git a/module/plugins/hoster/TusfilesNet.py b/module/plugins/hoster/TusfilesNet.py index 58b0c79f5..c63e72983 100644 --- a/module/plugins/hoster/TusfilesNet.py +++ b/module/plugins/hoster/TusfilesNet.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class TusfilesNet(XFSHoster):      __name__    = "TusfilesNet"      __type__    = "hoster" -    __version__ = "0.14" +    __version__ = "0.15"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?tusfiles\.net/\w{12}' @@ -19,6 +19,7 @@ class TusfilesNet(XFSHoster):      __authors__     = [("Walter Purcaro", "vuolter@gmail.com"),                         ("guidobelix", "guidobelix@hotmail.it")] +    PLUGIN_DOMAIN = "tusfiles.net"      INFO_PATTERN    = r'\](?P<N>.+) - (?P<S>[\d.,]+) (?P<U>[\w^_]+)\[' diff --git a/module/plugins/hoster/UpleaCom.py b/module/plugins/hoster/UpleaCom.py index 4b3b488c2..68b754b69 100644 --- a/module/plugins/hoster/UpleaCom.py +++ b/module/plugins/hoster/UpleaCom.py @@ -17,7 +17,7 @@ class UpleaCom(XFSHoster):      __description__ = """Uplea.com hoster plugin"""      __license__     = "GPLv3" -    __authors__     = [("Redleon", None), +    __authors__     = [("Redleon"  , None),                         ("GammaC0de", None)] diff --git a/module/plugins/hoster/UptoboxCom.py b/module/plugins/hoster/UptoboxCom.py index a0024a56f..da8cef036 100644 --- a/module/plugins/hoster/UptoboxCom.py +++ b/module/plugins/hoster/UptoboxCom.py @@ -6,7 +6,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class UptoboxCom(XFSHoster):      __name__    = "UptoboxCom"      __type__    = "hoster" -    __version__ = "0.23" +    __version__ = "0.24"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?(uptobox|uptostream)\.com/\w{12}' @@ -17,6 +17,8 @@ class UptoboxCom(XFSHoster):      __authors__     = [("Walter Purcaro", "vuolter@gmail.com")] +    PLUGIN_DOMAIN = "uptobox.com" +      INFO_PATTERN         = r'"para_title">(?P<N>.+) \((?P<S>[\d.,]+) (?P<U>[\w^_]+)\)'      OFFLINE_PATTERN      = r'>(File not found|Access Denied|404 Not Found)'      TEMP_OFFLINE_PATTERN = r'>Service Unavailable' diff --git a/module/plugins/hoster/VidPlayNet.py b/module/plugins/hoster/VidPlayNet.py index 8b69e6e98..a10e2672c 100644 --- a/module/plugins/hoster/VidPlayNet.py +++ b/module/plugins/hoster/VidPlayNet.py @@ -9,7 +9,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo  class VidPlayNet(XFSHoster):      __name__    = "VidPlayNet"      __type__    = "hoster" -    __version__ = "0.06" +    __version__ = "0.07"      __status__  = "testing"      __pattern__ = r'https?://(?:www\.)?vidplay\.net/\w{12}' @@ -20,6 +20,8 @@ class VidPlayNet(XFSHoster):      __authors__     = [("t4skforce", "t4skforce1337[AT]gmail[DOT]com")] +    PLUGIN_DOMAIN = "vidplay.net" +      NAME_PATTERN = r'<b>Password:</b></div>\s*<h[1-6]>(?P<N>[^<]+)</h[1-6]>'  | 
