Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
holo-schedule
Advanced tools
I love Haachama.
Hololive schedule crawler and parser.
yarn add holo-schedule
# or
npm install holo-schedule
import parseScheduleHtml from 'holo-schedule'
// or:
// const parseScheduleHtml = require('holo-schedule').default
import getScheduleHtml from 'holo-schedule/lib/getScheduleHtml'
// You can also get the html by yourself
const html = await getScheduleHtml()
// The dict stores steamers' icon data, you can save for using next time
const { lives, dict } = parseScheduleHtml(html)
console.log(lives)
Gets list like
[
{
time: 2020-07-31T11:02:00.000Z,
streamer: 'アステル・レダ',
guests: [ '鏡見キラ', '奏手イヅル' ],
link: 'https://www.youtube.com/watch?v=WntgMec1Q6A',
livePreviewImage: 'https://img.youtube.com/vi/WntgMec1Q6A/mqdefault.jpg'
},
{
time: 2020-08-01T10:00:00.000Z,
streamer: '赤井はあと',
guests: [],
link: 'https://www.youtube.com/watch?v=bYKeO_RKh6I',
livePreviewImage: 'https://img.youtube.com/vi/bYKeO_RKh6I/mqdefault.jpg'
},
...
]
For detail, see the TypeScript definition.
FAQs
Hololive schedule parser
The npm package holo-schedule receives a total of 12 weekly downloads. As such, holo-schedule popularity was classified as not popular.
We found that holo-schedule 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.