From 8535e6f10603c46cae77b85d51bb12648b5023a7 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Thu, 14 Nov 2013 22:43:39 +0100 Subject: [PATCH] generic: catch embed svt videos. --- lib/svtplay_dl/service/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/__init__.py b/lib/svtplay_dl/service/__init__.py index 14efc79..aec977c 100644 --- a/lib/svtplay_dl/service/__init__.py +++ b/lib/svtplay_dl/service/__init__.py @@ -49,7 +49,7 @@ class Generic(object): ''' Videos embed in sites ''' def get(self, url): data = get_http_data(url) - match = re.search(r"src=\"(http://www.svt.se/wd.*)\" frameborder", data) + match = re.search(r"src=\"(http://www.svt.se/wd.*)\" height", data) stream = None if match: url = match.group(1)