[AO] Add access check
This commit is contained in:
parent
4b5b3919f5
commit
67cdc42d64
1 changed files with 5 additions and 0 deletions
5
ao.ts
5
ao.ts
|
|
@ -443,6 +443,11 @@ export default class AnimeOnegai implements ServiceClass {
|
|||
}
|
||||
let tsFile = undefined;
|
||||
|
||||
if (!streamData.dash) {
|
||||
console.error('You don\'t have access to download this content');
|
||||
continue;
|
||||
}
|
||||
|
||||
console.info('Playlists URL: %s', streamData.dash);
|
||||
|
||||
if(!dlFailed && !(options.novids && options.noaudio)){
|
||||
|
|
|
|||
Loading…
Reference in a new issue