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

Commit

Permalink
update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Apr 30, 2015
1 parent a70895e commit 023a502
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var fs = require('fs');
var youtubedl = require('youtube-dl');
var video = youtubedl('http://www.youtube.com/watch?v=90AiXO1pAiA',
// Optional arguments passed to youtube-dl.
['--max-quality=18'],
['--format=18'],
// Additional options can be given for calling `child_process.execFile()`.
{ cwd: __dirname });

Expand Down
2 changes: 1 addition & 1 deletion example/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var ytdl = require('..');

var video = ytdl('http://www.youtube.com/watch?v=Seku9G1kT0c',
// Optional arguments passed to youtube-dl.
['--max-quality=22']);
['-f', '22']);


var size = 0;
Expand Down

0 comments on commit 023a502

Please sign in to comment.