def METHOD_NAME(self):
    vid = self.find_video_id()
    if vid is None:
        yield ServiceError("Cant find video id for this video")
        return
    url = f"http://api.svt.se/videoplayer-api/video/{vid}"
    data = self.http.request("get", url)
    if data.status_code == 404:
        yield ServiceError(f"Can't get the json file for {url}")
        return
    data = data.json()
    if "live" in data:
        self.config.set("live", data["live"])
    self.outputfilename(data)
    if "subtitleReferences" in data:
        for i in data["subtitleReferences"]:
            yield from subtitle_probe(copy.copy(self.config), i["url"], output=self.output)
    if len(data["videoReferences"]) == 0:
        yield ServiceError("Media doesn't have any associated videos (yet?)")
        return
    for i in data["videoReferences"]:
        parse = urlparse(i["url"])
        query = parse_qs(parse.query)
        if i["format"] == "hls" or i["format"] == "ios":
            yield from hlsparse(self.config, self.http.request("get", i["url"]), i["url"], output=self.output)
            if "alt" in query and len(query["alt"]) > 0:
                alt = self.http.METHOD_NAME(query["alt"][0])
                if alt:
                    yield from hlsparse(self.config, self.http.request("get", alt.request.url), alt.request.url, output=self.output)
        if i["format"] == "dash264" or i["format"] == "dashhbbtv":
            yield from dashparse(self.config, self.http.request("get", i["url"]), i["url"], output=self.output)
            if "alt" in query and len(query["alt"]) > 0:
                alt = self.http.METHOD_NAME(query["alt"][0])
                if alt:
                    yield from dashparse(self.config, self.http.request("get", alt.request.url), alt.request.url, output=self.output)