diff options
Diffstat (limited to 'module/plugins/hoster/FilefactoryCom.py')
| -rw-r--r-- | module/plugins/hoster/FilefactoryCom.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/module/plugins/hoster/FilefactoryCom.py b/module/plugins/hoster/FilefactoryCom.py index 273a717b5..21b803649 100644 --- a/module/plugins/hoster/FilefactoryCom.py +++ b/module/plugins/hoster/FilefactoryCom.py @@ -23,7 +23,7 @@ class FilefactoryCom(SimpleHoster):      __name__ = "FilefactoryCom"      __type__ = "hoster"      __pattern__ = r'https?://(?:www\.)?filefactory\.com/file/(?P<id>[a-zA-Z0-9]+)' -    __version__ = "0.47" +    __version__ = "0.48"      __description__ = """Filefactory.com hoster plugin"""      __author_name__ = "stickell"      __author_mail__ = "l.stickell@yahoo.it" @@ -40,7 +40,7 @@ class FilefactoryCom(SimpleHoster):          elif "All free download slots on this server are currently in use" in self.html:              self.retry(50, 15 * 60, "All free slots are busy") -        m = re.search(r'data-href-direct="(http://[^"]+)"', self.html) +        m = re.search(r'data-href(?:-direct)?="(http://[^"]+)"', self.html)          if m:              t = re.search(r'<div id="countdown_clock" data-delay="(\d+)">', self.html)              if t: @@ -65,7 +65,7 @@ class FilefactoryCom(SimpleHoster):              self.wait(int(waittime.group(1)))              # Parse the direct link and download it -            direct = re.search(r'data-href-direct="(.*)" class="button', self.html) +            direct = re.search(r'data-href(?:-direct)?="(.*)" class="button', self.html)              if not direct:                  self.parseError('Unable to detect free direct link')              direct = direct.group(1) | 
