mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
updates id search input arguments
This commit is contained in:
@@ -283,12 +283,7 @@ function assignKitsuOrImdbEpisodes(files, metadata) {
|
||||
|
||||
function findMovieImdbId(title) {
|
||||
const parsedTitle = typeof title === 'string' ? parse(title) : title;
|
||||
const searchQuery = {
|
||||
name: escapeTitle(parsedTitle.title).toLowerCase(),
|
||||
year: parsedTitle.year,
|
||||
type: Type.MOVIE
|
||||
};
|
||||
return getImdbId(searchQuery).catch((error) => undefined);
|
||||
return getImdbId(parsedTitle, Type.MOVIE).catch(() => undefined);
|
||||
}
|
||||
|
||||
function div100(episode) {
|
||||
|
||||
Reference in New Issue
Block a user