1
0
mirror of https://github.com/snobu/destreamer.git synced 2026-01-23 16:32:16 +00:00

Less convoluted console coloring

This commit is contained in:
snobu
2020-04-09 12:42:14 +03:00
parent be783e84e4
commit 427b58d97d
5 changed files with 23 additions and 214 deletions

View File

@@ -1,5 +1,4 @@
import axios from 'axios';
import { terminal as term } from 'terminal-kit';
import { Metadata, Session } from './Types';
@@ -27,8 +26,6 @@ export async function getVideoMetadata(videoGuids: string[], session: Session):
posterImage = response.data["posterImage"]["medium"]["url"];
term.brightMagenta(`\n title = ${title}\n playbackUrl = ${playbackUrl}\n`);
metadata.push({
title: title,
playbackUrl: playbackUrl,