mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
fixed rage error if no image array in episode object
This commit is contained in:
parent
c57290b331
commit
f90676c81e
1 changed files with 1 additions and 1 deletions
|
|
@ -1173,7 +1173,7 @@ export default class Crunchy implements ServiceClass {
|
|||
}
|
||||
const selEpId = isSpecial ? 'S' + epNumList.sp.toString().padStart(epNumLen, '0') : '' + parseInt(epNum, 10).toString().padStart(epNumLen, '0');
|
||||
// set data
|
||||
const images = (item.images.thumbnail ?? [[{ source: '/notFound.png' }]])[0];
|
||||
const images = (item.images?.thumbnail ?? [[{ source: '/notFound.png' }]])[0];
|
||||
const epMeta: CrunchyEpMeta = {
|
||||
data: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue