mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
Fixed subtitle download undefined error
This commit is contained in:
parent
3771096449
commit
76aac48ea2
1 changed files with 1 additions and 1 deletions
|
|
@ -2710,7 +2710,7 @@ export default class Crunchy implements ServiceClass {
|
|||
)
|
||||
)
|
||||
continue;
|
||||
if (options.dlsubs.includes('all') || options.dlsubs.includes(langItem.locale)) {
|
||||
if ((options.dlsubs.includes('all') || options.dlsubs.includes(langItem.locale)) && subsItem?.url) {
|
||||
const subsAssReq = await this.req.getData(subsItem.url, {
|
||||
headers: api.crunchyDefHeader
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue