Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed Mar 18, 2016
1 parent 2a2e596 commit d94a92f
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 @@ -35,7 +35,7 @@ anime.searchAnime(keyword).then(console.log);
}*/

const uri = 'http://jkanime.net/one-piece/732/';
anime.searchAnime(uri).then(console.log);
anime.getUrlVideo(uri).then(console.log);
/*[
{ url: 'http://jkanime.net/one-piece/', name: 'One Piece' },
{ url: 'http://jkanime.net/one-piece-taose-kaizoku-ganzack/', name: 'One Piece: Taose! Kaizoku Ganzack' },
Expand Down
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const anime = require('anime-dl');

const uri = 'http://jkanime.net/one-piece/732/';
const data = await anime.searchAnime(uri);
const data = await anime.getUrlVideo(uri);

0 comments on commit d94a92f

Please sign in to comment.