[scraper] do not use imdbId for series from tpb
This commit is contained in:
@@ -128,7 +128,7 @@ function getFiles(torrent) {
|
||||
}
|
||||
|
||||
function getFilesBasedOnTitle(titleQuery) {
|
||||
return File.findAll({ where: { title: { [Op.iLike]: `%${titleQuery}%` } } });
|
||||
return File.findAll({ where: { title: { [Op.regexp]: `${titleQuery}` } } });
|
||||
}
|
||||
|
||||
function deleteFile(file) {
|
||||
|
||||
Reference in New Issue
Block a user