From 16e1661efdcebc41ff0b6dca2d021373747db48a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 16 Oct 2016 19:20:42 +0200 Subject: [PATCH] svtplay: they changed the hostname for api calls fixes #475 --- lib/svtplay_dl/service/svtplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index e1f5650..aeed81b 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -38,7 +38,7 @@ class Svtplay(Service, OpenGraphThumbMixin): if re.match("^[0-9]+$", vid): old = True - url = "http://www.svt.se/videoplayer-api/video/%s" % vid + url = "http://api.svt.se/videoplayer-api/video/%s" % vid data = self.http.request("get", url) if data.status_code == 404: yield ServiceError("Can't get the json file for %s" % url)