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

Commit

Permalink
better resolution detection
Browse files Browse the repository at this point in the history
  • Loading branch information
t3rr0r committed Nov 22, 2014
1 parent 6cb55af commit cff5763
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 @@ -173,7 +173,7 @@ function filterData(data) {
}


var resolutionRegex = /( - ([0-9]+x[0-9]+|\d+p))/;
var resolutionRegex = /( - ([0-9]+x[0-9]+|\d+p|\?x[0-9]+|audio only|unknown))/;

/**
* Gets info from a video.
Expand Down

0 comments on commit cff5763

Please sign in to comment.