diff --git a/twitchdl/commands.py b/twitchdl/commands.py index 8f6f54a..346bed2 100644 --- a/twitchdl/commands.py +++ b/twitchdl/commands.py @@ -156,7 +156,7 @@ def download(video, **kwargs): def _download_clip(slug, **kwargs): - print_out("Looking up clip...") + print_out("Looking up clip...") clip = twitch.get_clip(slug) print_out("Found: {} by {}, playing {} ({})".format( @@ -193,21 +193,21 @@ def _download_video(video_id, max_workers, format='mkv', start=None, end=None, k if start and end and end <= start: raise ConsoleError("End time must be greater than start time") - print_out("Looking up video...") + print_out("Looking up video...") video = twitch.get_video(video_id) print_out("Found: {} by {}".format( video['title'], video['channel']['display_name'])) - print_out("Fetching access token...") + print_out("Fetching access token...") access_token = twitch.get_access_token(video_id) - print_out("Fetching playlists...") + print_out("Fetching playlists...") playlists = twitch.get_playlists(video_id, access_token) parsed = m3u8.loads(playlists) selected = _select_quality(parsed.playlists) - print_out("\nFetching playlist...") + print_out("\nFetching playlist...") response = requests.get(selected.uri) response.raise_for_status() playlist = m3u8.loads(response.text) diff --git a/twitchdl/output.py b/twitchdl/output.py index bd2b8a9..6179768 100644 --- a/twitchdl/output.py +++ b/twitchdl/output.py @@ -8,6 +8,7 @@ from twitchdl import utils START_CODES = { 'b': '\033[1m', + 'dim': '\033[2m', 'i': '\033[3m', 'u': '\033[4m', 'red': '\033[91m',