mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
parent
e943e6bc5b
commit
16e1661efd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user