summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/plugins/hoster/XFileSharingPro.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/XFileSharingPro.py b/module/plugins/hoster/XFileSharingPro.py
index 0bf7618c8..ac3e1d5de 100644
--- a/module/plugins/hoster/XFileSharingPro.py
+++ b/module/plugins/hoster/XFileSharingPro.py
@@ -34,7 +34,7 @@ class XFileSharingPro(SimpleHoster):
__name__ = "XFileSharingPro"
__type__ = "hoster"
__pattern__ = r"^unmatchable$"
- __version__ = "0.15"
+ __version__ = "0.16"
__description__ = """XFileSharingPro common hoster base"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
@@ -184,6 +184,7 @@ class XFileSharingPro(SimpleHoster):
self.retry()
def startDownload(self, link):
+ link = link.strip()
if self.captcha: self.correctCaptcha()
self.logDebug('DIRECT LINK: %s' % link)
self.download(link)
@@ -301,4 +302,4 @@ class XFileSharingPro(SimpleHoster):
return 3
return 0
-getInfo = create_getInfo(XFileSharingPro) \ No newline at end of file
+getInfo = create_getInfo(XFileSharingPro)