Skip to content

Instantly share code, notes, and snippets.

View Dorifor's full-sized avatar
🤙

Mao Dorifor

🤙
View GitHub Profile
@Dorifor
Dorifor / get_video_data.js
Last active January 28, 2025 23:26
Get all videos from a Youtube playlist page
// if you also need the data from each video element of this playlist
/**
* @typedef VideoElement
* @property { string } id a#video-title[href] > get ?v
* @property { string } title a#video-title
* @property { string } channel_name yt-formatted-string.ytd-channel-name
* @property { string } channel_url yt-formatted-string.ytd-channel-name > a[href]
* @property { string } thumbnail_url yt-image.ytd-thumbnail>img[src]
* @property { string } duration span.ytd-thumbnail-overlay-time-status-renderer
@Dorifor
Dorifor / jpdbsounds.user.js
Last active September 6, 2022 20:57
Adds cursed sounds to jpdb, don't thank me, shoutout to @Ōkami Amaterasu#1829 for chosing these lovely sounds.
// ==UserScript==
// @name JPDB Sounds
// @namespace jpdbsounds
// @description Adds cursed sounds to jpdb, don't thank me, shoutout to @Ōkami Amaterasu#1829 for chosing these lovely sounds.
// @include https://jpdb.io/review*
// @version 1.0.2
// @author Mao#2071
// @license MIT; http://opensource.org/licenses/MIT
// @require http://code.jquery.com/jquery-3.4.1.min.js
// @run-at document-end