Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
nekopoi-scraper
Advanced tools
npm install nekopoi-scraper
or using yarn
yarn add nekopoi-scraper
CommonJS
const { search, latest, list, detail } = require("nekopoi-scraper");
ESM
import { search, latest, list, detail } from "nekopoi-scraper";
import { search } from "nekopoi-scraper";
const query = "love";
const limit = 10; // (optional) limit output. default 10
search(query, limit).then((data) => {
console.log(data);
});
Output
[
{
"id": Number,
"date": String,
"title":String,
"image": String,
"type": String,
},
...
]
import { latest } from "nekopoi-scraper";
latest().then((data) => {
console.log(data);
});
[
{
id: Number,
title: String,
image: String,
description: String,
},
...
];
import { detail } from "nekopoi-scraper";
detail(21910).then((data) => {
console.log(data);
});
{
"id": Number,
"date": String,
"title": String,
"description": String,
"image": String,
"info_meta": {
"aliases": String,
"episode": String,
"status": String,
"tayang": String,
"produser": String,
"genre": String,
"durasi": String,
"skor": String,
},
"episode": [
{
"id": Number,
"date": String,
"title": String,
"image": String,
},
...
]
}
{
"id":Number,
"title": String,
"image": String,
"series": {
"id": Number,
"title": String,
"content": String,
"image": String,
"genre": String,
}
"stream": [
{
"link": String
},
...
],
"download": [
{
"type": String,
"links": [
"name": String,
"link": String
]
},
...
],
}
import { list } from "nekopoi-scraper";
const type = "jav"; // available "jav", "hentai"
const page = 1; // optional
list(type, page).then((data) => {
console.log(data);
});
[
{
"id": Number,
"date": String,
"title": String,
"image": String,
"type":String,
}
...
]
import { search } from "nekopoi-scraper";
const data = await search("milf", 15);
if (data.error) {
console.log(data.message);
} else {
console.log(data)
}
If have a suggestion that whould make this better, please fork and create a pull request. You can also simply open an issue. Don't forget to give the repo a star!
1. Fork the repo
2. Commit your Changes
3. Push to the Branch
4. Open a Pull Request
David - @david.stefen
FAQs
Simple nekopoi scraper
The npm package nekopoi-scraper receives a total of 25 weekly downloads. As such, nekopoi-scraper popularity was classified as not popular.
We found that nekopoi-scraper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.