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

Commit

Permalink
used __dirname instead of ./ to save download
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Mar 4, 2012
1 parent e853b64 commit b5fb4bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions example/download.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
youtubedl = require('./../lib/youtube-dl');
youtubedl = require('..');


dl = youtubedl.download('http://www.youtube.com/watch?v=90AiXO1pAiA', './',
dl = youtubedl.download('http://www.youtube.com/watch?v=90AiXO1pAiA',
__dirname,
// optional arguments passed to youtube-dl
['--max-quality=18']);

Expand Down
2 changes: 1 addition & 1 deletion example/info.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
youtube = require('./../lib/youtube-dl');
youtube = require('..');

youtube.info('http://www.youtube.com/watch?v=WKsjaOqDXgg',

Expand Down
Binary file removed example/lol
Binary file not shown.

0 comments on commit b5fb4bf

Please sign in to comment.