Showing actors, tags and date on movie tiles.

This commit is contained in:
DebaucheryLibrarian
2020-08-10 21:39:55 +02:00
parent dd1ea597d4
commit 40aed1086f
23 changed files with 273 additions and 17 deletions

View File

@@ -177,7 +177,7 @@ async function scrapeMovies(scraper, entity) {
}
async function scrapeChannelReleases(scraper, channelEntity, preData) {
const [latestReleases, upcomingReleases] = await Promise.all([
const [latestReleases, upcomingReleases, movies] = await Promise.all([
argv.latest
? scrapeLatestReleases(scraper, channelEntity, preData)
: [],
@@ -189,6 +189,8 @@ async function scrapeChannelReleases(scraper, channelEntity, preData) {
: [],
]);
console.log(movies);
logger.info(`Fetching ${latestReleases.length} latest and ${upcomingReleases.length} upcoming updates for '${channelEntity.name}' (${channelEntity.parent?.name})`);
return [...latestReleases, ...upcomingReleases];