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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user