summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/SoundcloudCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:14:28 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-11 15:14:28 +0200
commitf76e5c2336718dca9da8033ba22cd83c72c7b3b3 (patch)
tree5e4152ed534417ba24c04aedfb2a4070ae669372 /module/plugins/hoster/SoundcloudCom.py
parent[FileshareInUa] Mark dead (diff)
downloadpyload-f76e5c2336718dca9da8033ba22cd83c72c7b3b3.tar.xz
Pattern update 1
Diffstat (limited to 'module/plugins/hoster/SoundcloudCom.py')
-rw-r--r--module/plugins/hoster/SoundcloudCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/SoundcloudCom.py b/module/plugins/hoster/SoundcloudCom.py
index 1fa1ec6ea..9305a2142 100644
--- a/module/plugins/hoster/SoundcloudCom.py
+++ b/module/plugins/hoster/SoundcloudCom.py
@@ -22,7 +22,7 @@ class SoundcloudCom(Hoster):
# default UserAgent of HTTPRequest fails for this hoster so we use this one
self.req.http.c.setopt(pycurl.USERAGENT, 'Mozilla/5.0')
page = self.load(pyfile.url)
- m = re.search(r'<div class="haudio.*?large.*?" data-sc-track="(?P<ID>[0-9]*)"', page)
+ m = re.search(r'<div class="haudio.*?large.*?" data-sc-track="(?P<ID>\d*)"', page)
songId = clientId = ""
if m:
songId = m.group("ID")