diff options
Diffstat (limited to 'module/plugins')
| -rw-r--r-- | module/plugins/hoster/FilerNet.py | 14 | 
1 files changed, 3 insertions, 11 deletions
| diff --git a/module/plugins/hoster/FilerNet.py b/module/plugins/hoster/FilerNet.py index c5007e945..e790272f4 100644 --- a/module/plugins/hoster/FilerNet.py +++ b/module/plugins/hoster/FilerNet.py @@ -16,7 +16,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo  class FilerNet(SimpleHoster):      __name__    = "FilerNet"      __type__    = "hoster" -    __version__ = "0.16" +    __version__ = "0.17"      __pattern__ = r'https?://(?:www\.)?filer\.net/get/\w+' @@ -29,17 +29,9 @@ class FilerNet(SimpleHoster):      INFO_PATTERN    = r'<h1 class="page-header">Free Download (?P<N>\S+) <small>(?P<S>[\w.]+) (?P<U>[\w^_]+)</small></h1>'      OFFLINE_PATTERN = r'Nicht gefunden' -    LINK_FREE_PATTERN = LINK_PREMIUM_PATTERN = r'href="([^"]+)">Get download</a>' - +    WAIT_PATTERN = r'musst du <span id="time">(\d+)' -    def checkErrors(self): -        # Wait between downloads -        m = re.search(r'musst du <span id="time">(\d+)</span> Sekunden warten', self.html) -        if m: -            errmsg = self.info['error'] = _("Wait between free downloads") -            self.retry(wait_time=int(m.group(1)), reason=errmsg) - -        self.info.pop('error', None) +    LINK_FREE_PATTERN = LINK_PREMIUM_PATTERN = r'href="([^"]+)">Get download</a>'      def handleFree(self, pyfile): | 
