Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
update regexp for download progress
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed May 17, 2013
1 parent dfe6234 commit f64ff44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/youtube-dl.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ var getHumanTime = function(ms) {
};


var regex = /(\d+\.\d)% of (\d+\.\d+\w) at\s+([^\s]+) ETA ((\d|-)+:(\d|-)+)/;
var regex = /(\d+\.\d)% of (\d+\.\d+\w+) at\s+([^\s]+) ETA ((\d|-)+:(\d|-)+)/;

// main download function
exports.download = function(url, dest, args) {
Expand Down

0 comments on commit f64ff44

Please sign in to comment.