summaryrefslogtreecommitdiffstats
path: root/module/plugins/UploadedTo.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-10 23:16:26 +0100
commit7c50993e16a6adaa4bdb5f615c9e6cf279c16316 (patch)
tree3f247b49435bc383c24f649f1d34a0ad98096ece /module/plugins/UploadedTo.py
parentbetter uploaded pattern (diff)
downloadpyload-7c50993e16a6adaa4bdb5f615c9e6cf279c16316.tar.xz
fixed regex for uploaded.to
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 f8bf87d6e..9ae008480 100644
--- a/module/plugins/UploadedTo.py
+++ b/module/plugins/UploadedTo.py
@@ -77,7 +77,7 @@ class UploadedTo(Plugin):
url = self.parent.url
match = re.compile(self.props['pattern']).search(url)
if match:
- src = self.req.load("http://uploaded.to/api/file", cookies=False, get={"id": match.group(1).split("?")[0]})
+ src = self.req.load("http://uploaded.to/api/file", cookies=False, get={"id": match.group(1).split("/")[0]})
if not src.find("404 Not Found"):
return
self.api_data = {}