Style the url in video list

This commit is contained in:
Ivan Habunek 2019-08-13 12:29:42 +02:00
parent 68a8b70948
commit f807d4324b
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95
2 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,7 @@ def _print_video(video):
print_out("<green>{}</green>".format(video["title"]))
print_out("<cyan>{}</cyan> playing <cyan>{}</cyan>".format(name, video['game']))
print_out("Published <cyan>{}</cyan> Length: <cyan>{}</cyan> ".format(published_at, length))
print_out(video["url"])
print_out("<i>{}</i>".format(video["url"]))
def videos(channel_name, limit, offset, sort, **kwargs):

View File

@ -5,6 +5,8 @@ import re
START_CODES = {
'bold': '\033[1m',
'i': '\033[3m',
'u': '\033[4m',
'red': '\033[31m',
'green': '\033[32m',
'yellow': '\033[33m',