mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] updates scrapers and unique index
This commit is contained in:
@@ -111,7 +111,7 @@ async function filesFromTorrentStream(torrent) {
|
||||
function filterVideos(files) {
|
||||
return files.filter((file) => {
|
||||
const match = file.path.match(/\.(\w{2,4})$/);
|
||||
return match && EXTENSIONS.includes(match[1]);
|
||||
return match && EXTENSIONS.includes(match[1].toLowerCase());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user