mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
svtplay: use context instead of statistics for filename
This commit is contained in:
parent
bdeea1e130
commit
749d00ac82
@ -136,7 +136,7 @@ def outputfilename(data, filename, raw):
|
||||
name = name.replace("arkiv-", "")
|
||||
name = name.replace("-", ".")
|
||||
season = seasoninfo(raw)
|
||||
other = data["statistics"]["title"].replace("-", ".")
|
||||
other = filenamify(data["context"]["title"])
|
||||
if season:
|
||||
title = "%s.%s.%s-%s-svtplay" % (name, season, other, data["videoId"])
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user