UNPKG
mal-scrape
Version:
latest (1.1.0)
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
scrapes info from myanimelist
github.com/leon-4A6C/mal-scrape
leon-4A6C/mal-scrape
mal-scrape
/
examples
/
search.js
7 lines
(5 loc)
•
200 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
MAL
=
require
(
"../"
);
const
client =
new
MAL
();
// search for boku no in anime and return the data from page 2
client.
search
(
"boku no"
,
"anime"
, {
show
:
50
}) .
then
(
data
=>
console
.
log
(data));