summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-11-15 14:50:36 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-11-15 14:50:36 +0100
commit696fc5c297254289543bdf977cd412736bc6c568 (patch)
tree4806974aaada57f202dfd276ed7db3aa51717051
parentstorage.to plugin (diff)
downloadpyload-696fc5c297254289543bdf977cd412736bc6c568.tar.xz
netload.in fix
-rw-r--r--module/plugins/NetloadIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/NetloadIn.py b/module/plugins/NetloadIn.py
index c3a421cc8..21fba5aa3 100644
--- a/module/plugins/NetloadIn.py
+++ b/module/plugins/NetloadIn.py
@@ -79,7 +79,7 @@ class NetloadIn(Plugin):
def download_api_data(self):
url = self.parent.url
- id_regex = re.compile("http://netload.in/datei(.*)\.htm")
+ id_regex = re.compile("http://netload.in/datei(.*?)(?:\.htm|/)")
match = id_regex.search(url)
if match:
apiurl = "http://netload.in/share/fileinfos2.php"