Skip to content

Instantly share code, notes, and snippets.

View johan456789's full-sized avatar

Tsung-Han Yu johan456789

View GitHub Profile
// removed last line of https://unpkg.com/[email protected]/dist/youtube-transcript.esm.js
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
@johan456789
johan456789 / encn_Oxford_custom.js
Last active June 26, 2021 19:36
ODH en -> cn Oxford Dictionary script
// Modified from https://github.com/ninja33/ODH/blob/master/src/dict/encn_Oxford.js
/* global api, hash */
class encn_Oxford {
constructor(options) {
this.token = '';
this.gtk = '';
this.options = options;
this.maxexample = 2;
this.word = '';