mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
tv4play: request fixes
This commit is contained in:
parent
57842a3895
commit
63a59707fe
@ -125,7 +125,7 @@ class Tv4play(Service, OpenGraphThumbMixin):
|
||||
show = parse.path[parse.path.find("/", 1)+1:]
|
||||
if not re.search("%", show):
|
||||
show = quote_plus(show)
|
||||
data = self.http.get("http://webapi.tv4play.se/play/video_assets?type=episode&is_live=false&platform=web&node_nids=%s&per_page=99999" % show)
|
||||
data = self.http.get("http://webapi.tv4play.se/play/video_assets?type=episode&is_live=false&platform=web&node_nids=%s&per_page=99999" % show).content
|
||||
jsondata = json.loads(data)
|
||||
episodes = []
|
||||
n = 1
|
||||
|
Loading…
Reference in New Issue
Block a user