
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
niconico API library for Node.JS, armed with Promises.
npm install niconico
const { niconico, Nicovideo } = require('niconico')
const baseDir = './videos'
async function downloadVideo(videoID) {
try {
const session = await niconico.login(
process.env.EMAIL,
process.env.PASSWORD
)
const client = new Nicovideo(session)
const filePath = await client.download(videoID, baseDir)
console.log('Downloaded:', filePath)
} catch (err) {
console.log('Error:', err)
}
}
downloadVideo('sm28222588')
The APIs return Promises. You can chain them with then
and catch
.
Returns a session cookie.
Type: string
Type: string
Returns a nicovideo agent. If a session is given, the agent will be authenticated and act as a signed user.
a session cookie given by niconico.login
.
Download a video to local dir.
Type: string
Type: string
Fetch a /watch/ page and returns its metadata.
Type: string
Returns thumbinfo. This doesn't requires session
.
Type: string
Download the video from url
to outputPath
.
Type: string
Type: string
Before create a pull-request, you need to test using npm test
.
NICONICO_EMAIL=<email> NICONICO_PASSWORD=<password> npm test
Thanks goes to these wonderful people (emoji key):
uetchy 💻 | Yuta Hiroto 💻 | m77so 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
A nicovideo plug-in for NodeJS
The npm package niconico receives a total of 17 weekly downloads. As such, niconico popularity was classified as not popular.
We found that niconico 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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.