From 5893ffd44bfccf134ede86a7b526062a172f131a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 28 Dec 2014 14:33:25 +0100 Subject: [PATCH] =?UTF-8?q?svtplay:=20support=20for=20=C3=B6ppetarkiv?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this will only work with those with episodes in the name. this fixes #140 --- lib/svtplay_dl/service/svtplay.py | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index 0232659..7a5491f 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -148,18 +148,24 @@ def outputfilename(data, filename, raw): return output -def seasoninfo(line): - match = re.search(r'play_video-area-aside__sub-title">([^<]+)([^<]+)