Browse Source

downloaders.py: Update extractor

doc-issue-template
MrS0m30n3 9 years ago
parent
commit
efea8b712e
1 changed files with 2 additions and 0 deletions
  1. 2
      youtube_dl_gui/downloaders.py

2
youtube_dl_gui/downloaders.py

@ -399,6 +399,8 @@ def extract_data(stdout):
if stdout[1] == '100%': if stdout[1] == '100%':
data_dictionary['speed'] = '' data_dictionary['speed'] = ''
data_dictionary['eta'] = '' data_dictionary['eta'] = ''
data_dictionary['percent'] = '100%'
data_dictionary['filesize'] = stdout[3]
else: else:
data_dictionary['percent'] = stdout[1] data_dictionary['percent'] = stdout[1]
data_dictionary['filesize'] = stdout[3] data_dictionary['filesize'] = stdout[3]

Loading…
Cancel
Save