mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-04-04 21:59:44 +00:00
fix: always add anime title
This commit is contained in:
parent
009e26974d
commit
8b3992ff06
2 changed files with 2 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue