fix: always add anime title

This commit is contained in:
ThaUnknown 2023-11-23 16:13:00 +01:00
parent 009e26974d
commit 8b3992ff06
2 changed files with 2 additions and 1 deletions

View file

@ -230,6 +230,7 @@ export async function anitomyscript (...args) {
const parseObjs = Array.isArray(res) ? res : [res]
for (const obj of parseObjs) {
obj.anime_title ??= ''
const seasonMatch = obj.anime_title.match(/S(\d{2})E(\d{2})/)
if (seasonMatch) {
obj.anime_season = seasonMatch[1]

View file

@ -1,6 +1,6 @@
{
"name": "Miru",
"version": "4.5.0",
"version": "4.5.1",
"private": true,
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
"description": "Stream anime torrents, real-time with no waiting for downloads.",