1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

sr: dont look for aria-label when getting the audio info

fixes #258
This commit is contained in:
Johan Andersson 2015-08-31 20:18:18 +02:00
parent 331de0a70f
commit 7922966aff

View File

@ -23,7 +23,7 @@ class Sr(Service, OpenGraphThumbMixin):
if self.exclude(options):
return
match = re.search(r'href="(/sida/[\.\/=a-z0-9&;\?]+\d+)" aria-label', data)
match = re.search(r'href="(/sida/[\.\/=a-z0-9&;\?]+playaudio=\d+)"', data)
if not match:
log.error("Can't find audio info")
return