diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/accounts/LinestorageCom.py | 18 | ||||
| -rw-r--r-- | module/plugins/crypter/LinkCryptWs.py | 2 | ||||
| -rw-r--r-- | module/plugins/hooks/XFileSharingPro.py | 12 | ||||
| -rw-r--r-- | module/plugins/hoster/OpenloadIo.py | 12 | ||||
| -rw-r--r-- | module/plugins/internal/Captcha.py | 12 | 
5 files changed, 20 insertions, 36 deletions
diff --git a/module/plugins/accounts/LinestorageCom.py b/module/plugins/accounts/LinestorageCom.py deleted file mode 100644 index 87dd2a1d3..000000000 --- a/module/plugins/accounts/LinestorageCom.py +++ /dev/null @@ -1,18 +0,0 @@ -# -*- coding: utf-8 -*- - -from module.plugins.internal.XFSAccount import XFSAccount - - -class LinestorageCom(XFSAccount): -    __name__    = "LinestorageCom" -    __type__    = "account" -    __version__ = "0.04" -    __status__  = "testing" - -    __description__ = """Linestorage.com account plugin""" -    __license__     = "GPLv3" -    __authors__     = [("Walter Purcaro", "vuolter@gmail.com")] - - -    HOSTER_DOMAIN = "linestorage.com" -    HOSTER_URL    = "http://linestorage.com/" diff --git a/module/plugins/crypter/LinkCryptWs.py b/module/plugins/crypter/LinkCryptWs.py index 095ca0158..16ee1d4f1 100644 --- a/module/plugins/crypter/LinkCryptWs.py +++ b/module/plugins/crypter/LinkCryptWs.py @@ -14,7 +14,7 @@ from module.utils import html_unescape  class LinkCryptWs(Crypter):      __name__    = "LinkCryptWs"      __type__    = "crypter" -    __version__ = "0.10" +    __version__ = "0.12"      __status__  = "testing"      __pattern__ = r'http://(?:www\.)?linkcrypt\.ws/(dir|container)/(?P<ID>\w+)' diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py index 7567a31a3..9b9c7f0ad 100644 --- a/module/plugins/hooks/XFileSharingPro.py +++ b/module/plugins/hooks/XFileSharingPro.py @@ -29,18 +29,20 @@ class XFileSharingPro(Hook):                                r'https?://(?:[^/]+\.)?(?P<DOMAIN>%s)/(?:user|folder)s?/\w+')}      HOSTER_BUILTIN  = [#WORKING HOSTERS: -                       "ani-stream.com", "backin.net", "cloudsix.me", "eyesfile.ca", "file4safe.com", -                       "fileband.com", "filedwon.com", "fileparadox.in", "filevice.com", -                       "hostingbulk.com", "junkyvideo.com", "linestorage.com", "ravishare.com", +                       "ani-stream.com", "backin.net", "cloudsix.me", "eyesfile.ca", +                       "file4safe.com", "fileband.com", "filedwon.com", "fileparadox.in", +                       "filevice.com", "hostingbulk.com", "junkyvideo.com", "ravishare.com",                         "ryushare.com", "salefiles.com", "sendmyway.com", "sharebeast.com", -                       "sharesix.com", "thefile.me", "verzend.be", "worldbytez.com", "xvidstage.com", +                       "sharesix.com", "thefile.me", "verzend.be", "worldbytez.com", +                       "xvidstage.com",                         #: NOT TESTED:                         "101shared.com", "4upfiles.com", "filemaze.ws", "filenuke.com",                         "linkzhost.com", "mightyupload.com", "rockdizfile.com", "sharerepo.com",                         "shareswift.com", "uploadbaz.com", "uploadc.com", "vidbull.com",                         "zalaa.com", "zomgupload.com",                         #: NOT WORKING: -                       "amonshare.com", "banicrazy.info", "boosterking.com", "host4desi.com", "laoupload.com", "rd-fs.com"] +                       "amonshare.com", "banicrazy.info", "boosterking.com", "host4desi.com", +                       "laoupload.com", "rd-fs.com"]      CRYPTER_BUILTIN = ["junocloud.me", "rapidfileshare.net"] diff --git a/module/plugins/hoster/OpenloadIo.py b/module/plugins/hoster/OpenloadIo.py index c46462344..372ce28f9 100644 --- a/module/plugins/hoster/OpenloadIo.py +++ b/module/plugins/hoster/OpenloadIo.py @@ -6,25 +6,25 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo  class OpenloadIo(SimpleHoster):      __name__    = "OpenloadIo"      __type__    = "hoster" -    __version__ = "0.04" +    __version__ = "0.05"      __status__  = "testing" -    __pattern__ = r'https?://(?:www\.)?openload\.io/f/[\w_-]{11}' +    __pattern__ = r'https?://(?:www\.)?openload\.(co|io)/f/[\w-]+' -    __description__ = """Openload.io hoster plugin""" +    __description__ = """Openload.co hoster plugin"""      __license__     = "GPLv3"      __authors__     = [(None, None)]      NAME_PATTERN    = r'<span id="filename">(?P<N>.+?)</' -    SIZE_PATTERN    = r'<span class="count">(?P<S>[\d.,]+) (?P<U>[\w^_]+)<' +    SIZE_PATTERN    = r'<span class="count">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'      OFFLINE_PATTERN = r">(We can't find the file you are looking for)" -    LINK_FREE_PATTERN = r'id="real\w*download"><a href="(https?://[\w\.]+\.openload\.io/dl/.*?)"' +    LINK_FREE_PATTERN = r'id="real\w*download"><a href="(https?://[\w\.]+\.openload\.co/dl/.*?)"'      def setup(self): -        self.multiDL = True +        self.multiDL     = True          self.chunk_limit = 1 diff --git a/module/plugins/internal/Captcha.py b/module/plugins/internal/Captcha.py index 600fd1d34..b864fd2d8 100644 --- a/module/plugins/internal/Captcha.py +++ b/module/plugins/internal/Captcha.py @@ -12,7 +12,7 @@ from module.plugins.internal.Plugin import Plugin  class Captcha(Plugin):      __name__    = "Captcha"      __type__    = "captcha" -    __version__ = "0.42" +    __version__ = "0.43"      __status__  = "testing"      __description__ = """Base anti-captcha plugin""" @@ -50,18 +50,18 @@ class Captcha(Plugin):          pass -    def decrypt(self, url, get={}, post={}, ref=False, cookies=False, decode=False, +    def decrypt(self, url, get={}, post={}, ref=False, cookies=True, decode=False,                  input_type='jpg', output_type='textual', ocr=True, timeout=120):          img = self.load(url, get=get, post=post, ref=ref, cookies=cookies, decode=decode)          return self._decrypt(img, input_type, output_type, ocr, timeout)      #@TODO: Definitely choose a better name for this method! -    def _decrypt(self, raw, input_type='jpg', output_type='textual', ocr=False, timeout=120): +    def _decrypt(self, data, input_type='jpg', output_type='textual', ocr=False, timeout=120):          """          Loads a captcha and decrypts it with ocr, plugin, user input -        :param raw: image raw data +        :param data: image raw data          :param get: get part for request          :param post: post part for request          :param cookies: True if cookies should be enabled @@ -77,7 +77,7 @@ class Captcha(Plugin):          time_ref = ("%.2f" % time.time())[-6:].replace(".", "")          with open(os.path.join("tmp", "captcha_image_%s_%s.%s" % (self.plugin.__name__, time_ref, input_type)), "wb") as tmp_img: -            tmp_img.write(raw) +            tmp_img.write(data)          if ocr:              if isinstance(ocr, basestring): @@ -90,7 +90,7 @@ class Captcha(Plugin):              captchaManager = self.pyload.captchaManager              try: -                self.task = captchaManager.newTask(raw, input_type, tmp_img.name, output_type) +                self.task = captchaManager.newTask(data, input_type, tmp_img.name, output_type)                  captchaManager.handleCaptcha(self.task)  | 
