mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-21 08:31:57 +00:00
Change embed selector
This commit is contained in:
parent
fc052a9f08
commit
cb44f663ca
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
|
||||||
baseUrl: nepuBase,
|
baseUrl: nepuBase,
|
||||||
});
|
});
|
||||||
const videoPage$ = load(videoPage);
|
const videoPage$ = load(videoPage);
|
||||||
const embedId = videoPage$('a.btn-service').attr('data-embed');
|
const embedId = videoPage$('a[data-embed]').attr('data-embed');
|
||||||
|
|
||||||
if (!embedId) throw new NotFoundError('No embed found.');
|
if (!embedId) throw new NotFoundError('No embed found.');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue