mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] updates featurette regex
This commit is contained in:
@@ -373,7 +373,7 @@ function assignKitsuOrImdbEpisodes(torrent, files, metadata) {
|
|||||||
return files;
|
return files;
|
||||||
}
|
}
|
||||||
|
|
||||||
function findMovieImdbId(title, type) {
|
function findMovieImdbId(title) {
|
||||||
const parsedTitle = typeof title === 'string' ? parse(title) : title;
|
const parsedTitle = typeof title === 'string' ? parse(title) : title;
|
||||||
return getImdbId(parsedTitle, Type.MOVIE).catch(() => undefined);
|
return getImdbId(parsedTitle, Type.MOVIE).catch(() => undefined);
|
||||||
}
|
}
|
||||||
@@ -391,7 +391,7 @@ function isSingleMovie(videos) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isFeaturette(video) {
|
function isFeaturette(video) {
|
||||||
return /featurettes?\//i.test(video.path);
|
return /(?:featurettes?|extras-grym)\//i.test(video.path);
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearInfoFields(video) {
|
function clearInfoFields(video) {
|
||||||
|
|||||||
Reference in New Issue
Block a user