mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:43:25 +00:00
Change embed selector
This commit is contained in:
@@ -41,7 +41,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
|
||||
baseUrl: nepuBase,
|
||||
});
|
||||
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.');
|
||||
|
||||
|
Reference in New Issue
Block a user