summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/ShareFilesCo.py
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 20:50:34 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-22 21:20:06 +0200
commitaaaf5a4cddec894aacd7400c59a9f2f5e710362f (patch)
tree9d9e89aff86598b3ffcc86117abd554b193e28b5 /pyload/plugins/hoster/ShareFilesCo.py
parentimplemented media type filter (diff)
downloadpyload-aaaf5a4cddec894aacd7400c59a9f2f5e710362f.tar.xz
Fixed PEP 8 violations in Hosters
(cherry picked from commit 2edeee0532ec6d6b4b26fd045a5971f67ca455da) Conflicts: pyload/plugins/hoster/BasePlugin.py pyload/plugins/hoster/MultishareCz.py pyload/plugins/hoster/NetloadIn.py pyload/plugins/hoster/PremiumizeMe.py pyload/plugins/hoster/RapidshareCom.py
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)