mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-07-03 09:35:05 +00:00
chore: update deciphers jsdoc
This commit is contained in:
@@ -11,7 +11,7 @@ class NToken {
|
||||
|
||||
/**
|
||||
* Solves throttling challange by transforming the n token.
|
||||
* @returns {string} transformed token.
|
||||
* @returns {string}
|
||||
*/
|
||||
transform() {
|
||||
let n_token = this.n.split('');
|
||||
@@ -64,7 +64,7 @@ class NToken {
|
||||
|
||||
/**
|
||||
* Takes the n-transform data, refines it, and then returns a readable json array.
|
||||
* @returns {object}
|
||||
* @returns {Array}
|
||||
*/
|
||||
#getTransformationData() {
|
||||
const data = `[${Utils.getStringBetweenStrings(this.raw_code.replace(/\n/g, ''), 'c=[', '];c')}]`;
|
||||
|
||||
@@ -12,6 +12,7 @@ class Signature {
|
||||
|
||||
/**
|
||||
* Deciphers signature.
|
||||
* @returns {string}
|
||||
*/
|
||||
decipher() {
|
||||
const args = QueryString.parse(this.url);
|
||||
|
||||
Reference in New Issue
Block a user