diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-28 20:19:35 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-02-28 20:19:35 +0100 |
commit | e9cfc828529f22a3ef6e6eba9e91daf1a0d99155 (patch) | |
tree | 0d9b6d6645057caf29aa97442c97dbfdb9c52365 /module/plugins/hoster/XFileSharingPro.py | |
parent | fixed last commit (diff) | |
parent | XFileSharingPro: Cleaning the download link (diff) | |
download | pyload-e9cfc828529f22a3ef6e6eba9e91daf1a0d99155.tar.xz |
Merge pull request #26 from stickell/stable
SpeedLoadOrg now uses XFileSharing Pro
Diffstat (limited to 'module/plugins/hoster/XFileSharingPro.py')
-rw-r--r-- | module/plugins/hoster/XFileSharingPro.py | 5 |
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) |