summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/ShareFilesCo.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/ShareFilesCo.py')
-rw-r--r--pyload/plugins/hoster/ShareFilesCo.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/ShareFilesCo.py b/pyload/plugins/hoster/ShareFilesCo.py
index ee44b0a1f..245e20ea6 100644
--- a/pyload/plugins/hoster/ShareFilesCo.py
+++ b/pyload/plugins/hoster/ShareFilesCo.py
@@ -1,7 +1,9 @@
# -*- coding: utf-8 -*-
-from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
import re
+from module.plugins.hoster.XFileSharingPro import XFileSharingPro, create_getInfo
+
+
class ShareFilesCo(XFileSharingPro):
__name__ = "ShareFilesCo"
__type__ = "hoster"
@@ -17,8 +19,10 @@ class ShareFilesCo(XFileSharingPro):
link = link.strip()
if link.startswith('http://adf.ly'):
link = re.sub('http://adf.ly/\d+/', '', link)
- if self.captcha: self.correctCaptcha()
+ if self.captcha:
+ self.correctCaptcha()
self.logDebug('DIRECT LINK: %s' % link)
self.download(link)
+
getInfo = create_getInfo(ShareFilesCo)