Skip to content

Commit

Permalink
Update the progress bar design used for download status
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Nov 21, 2023
1 parent 9492b1d commit 541943b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'requests',
'colorama',
'beautifulsoup4',
'downloader-cli',
'downloader-cli>=0.3.4',
'pyxdg',
'ffmpeg-python',
'pysocks',
Expand Down
3 changes: 2 additions & 1 deletion ytmdl/yt.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def get_youtube_streams(url):

# Function to be called by ytdl progress hook.
def progress_handler(d):
d_obj = Download('', '')
d_obj = Download('', '', icon_done="━", icon_left="━",
icon_current=" ", color_done="green", color_left="black", icon_border=" ")

if d['status'] == 'downloading':
length = d_obj._get_terminal_length()
Expand Down

0 comments on commit 541943b

Please sign in to comment.