adds horriblesubs scrapper

This commit is contained in:
TheBeastLT
2019-03-15 17:17:28 +01:00
parent 88bddcff54
commit 7925f18064
3 changed files with 18 additions and 20 deletions

View File

@@ -83,4 +83,4 @@ async function getImdbId(info) {
});
}
module.exports = { getMetadata, movieMetadata, seriesMetadata, getImdbId };
module.exports = { escapeTitle, getMetadata, movieMetadata, seriesMetadata, getImdbId };

View File

@@ -15,6 +15,7 @@ const Torrent = database.define('torrent', {
title: { type: Sequelize.STRING(128), allowNull: false },
type: { type: Sequelize.STRING(16), allowNull: false },
imdbId: { type: Sequelize.STRING(12) },
kitsuId: { type: Sequelize.INTEGER },
uploadDate: { type: Sequelize.DATE, allowNull: false },
seeders: { type: Sequelize.SMALLINT },
files: { type: Sequelize.JSONB }