diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index e528bdf..7956049 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -261,7 +261,7 @@ class Svtplay(Service, MetadataThumbMixin): vid = data["video"]["svtId"] for seasons in data["associatedContent"]: for i in seasons["items"]: - if i["item"]["videoSvtId"] == vid: + if i["item"]["videoSvtId"] == vid and "positionInSeason" in i["item"]: match = re.search(r"S.song (\d+)", i["item"]["positionInSeason"]) if match: return match.group(1)