mirror of
https://github.com/sussy-code/providers.git
synced 2026-08-13 10:41:35 +00:00
fix error
This commit is contained in:
parent
b9752147db
commit
cc0d8340ea
1 changed files with 3 additions and 0 deletions
|
|
@ -128,6 +128,9 @@ function embed(provider: {
|
|||
if (data?.error && data.error.startsWith('No results found in MovieBox search')) {
|
||||
throw new NotFoundError('No stream found');
|
||||
}
|
||||
if (data?.error === 'No cached data found for this episode') {
|
||||
throw new NotFoundError('No stream found');
|
||||
}
|
||||
if (data?.error === 'No cached data found for this ID') {
|
||||
throw new NotFoundError('No stream found');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue