summaryrefslogtreecommitdiffstats
path: root/module/plugins/UploadedTo.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-10 21:03:02 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-10 21:03:02 +0100
commit69378d565bd9ffbf361377653de39ff37ff40156 (patch)
tree848ccb3e9ba8bd1251324646a4936dd434392241 /module/plugins/UploadedTo.py
parentchecksum methods for RapidshareCom and UploadedTo (diff)
downloadpyload-69378d565bd9ffbf361377653de39ff37ff40156.tar.xz
fixed rapidshare plugin, creates error file if checksum is wrong, strip spaces i
n cli
Diffstat (limited to 'module/plugins/UploadedTo.py')
-rw-r--r--module/plugins/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/UploadedTo.py b/module/plugins/UploadedTo.py
index bf5582d7c..89ad9e4e8 100644
--- a/module/plugins/UploadedTo.py
+++ b/module/plugins/UploadedTo.py
@@ -88,7 +88,7 @@ class UploadedTo(Plugin):
if not src.find("404 Not Found"):
return
self.api_data = {}
- lines = src.split("\r\n")
+ lines = src.splitlines()
self.api_data["filename"] = lines[0]
self.api_data["size"] = lines[1] # in kbytes
self.api_data["checksum"] = lines[2] #sha1