From 7922966aff1ee0bd86da2dc09f9c2594773cc757 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 31 Aug 2015 20:18:18 +0200 Subject: [PATCH] sr: dont look for aria-label when getting the audio info fixes #258 --- lib/svtplay_dl/service/sr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/sr.py b/lib/svtplay_dl/service/sr.py index fe32e40..9ecd031 100644 --- a/lib/svtplay_dl/service/sr.py +++ b/lib/svtplay_dl/service/sr.py @@ -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