diff options
| author | 2013-02-28 20:14:22 +0100 | |
|---|---|---|
| committer | 2013-02-28 20:14:22 +0100 | |
| commit | f09a4fc4ef45ff663d9e89549df7d525d0594b1e (patch) | |
| tree | 0d9b6d6645057caf29aa97442c97dbfdb9c52365 /module/plugins | |
| parent | SpeedLoadOrg now uses XFileSharingPro (diff) | |
| download | pyload-f09a4fc4ef45ff663d9e89549df7d525d0594b1e.tar.xz | |
XFileSharingPro: Cleaning the download link
The detected SpeedLoadOrg download URL has a \r at the end causing a Bad Gateway error.
Diffstat (limited to 'module/plugins')
| -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) | 
