mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
viaplay: f4m can be in the middle of the filename
This commit is contained in:
parent
1057f800b0
commit
f7323a0072
@ -90,7 +90,7 @@ class Viaplay(Service, OpenGraphThumbMixin):
|
||||
|
||||
if streamj["streams"]["medium"]:
|
||||
filename = streamj["streams"]["medium"]
|
||||
if filename.endswith("f4m"):
|
||||
if ".f4m" in filename:
|
||||
streams = hdsparse(copy.copy(options), self.http.request("get", filename, params={"hdcore": "3.7.0"}).text, filename)
|
||||
if streams:
|
||||
for n in list(streams.keys()):
|
||||
|
Loading…
Reference in New Issue
Block a user