Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
HakuNeko provides parsers to access mangas from some selected websites.
Include the module:
// [optional] use a logtrine logger in case for debug output
const { FileLogger } = require('logtrine');
const { KissManga, MangaGo } = require('hakuneko');
var logger = new FileLogger('./hakuneko.log', ConsoleLogger.LEVEL.All);
var kissmanga = new KissManga(logger);
var mangago = new MangaGo(logger);
Basic data structure for manga(s):
{
"id": "/Manga/Mirai-Nikki",
"title": "Mirai Nikki"
}
Basic data structure for chapter(s):
{
"id": "/Manga/Mirai-Nikki/ch-001",
"title": "Chapter 01 - Beginning"
}
NOTE: Website will ban your IP when using this module, only use it if you have dynamic IP!
Function to parse mangas from the website. The manga list is scattered over multiple website pages, where each page contains roughly 50 mangas.
const { KissManga } = require('hakuneko');
var scraper = new KissManga();
scraper.getMangaList(1, 2)
.then(mangas => console.log(mangas))
.catch(error => console.error(error))
NOTE: Website will ban your IP when using this module, only use it if you have dynamic IP!
Function to parse mangas from the website. The manga list is scattered over multiple website pages, where each page contains roughly 44 mangas.
const { MangaGo } = require('hakuneko');
var scraper = new MangaGo();
scraper.getMangaList(1, 2)
.then(mangas => console.log(mangas))
.catch(error => console.error(error))
FAQs
Scraper for manga websites
The npm package hakuneko receives a total of 19 weekly downloads. As such, hakuneko popularity was classified as not popular.
We found that hakuneko 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.