mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-23 23:09:28 +00:00
hotfix: use Android client when requesting initial video info
This commit is contained in:
@@ -36,12 +36,11 @@ class Format {
|
||||
|
||||
/**
|
||||
* Decipher the streaming url of the format.
|
||||
*
|
||||
* @param {import('../../../core/Player').default} player
|
||||
* @returns {string} Deciphered URL for downloading
|
||||
*/
|
||||
decipher(player) {
|
||||
return player.decipher(this.url, this.signature_cipher, this.cipher);
|
||||
decipher() {
|
||||
return this.url;
|
||||
// Return player.decipher(this.url, this.signature_cipher, this.cipher);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user