@mks2508/bundlp 0.1.24 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -530,7 +530,6 @@ function generateSapisidAuth(cookies, origin = "https://www.youtube.com") {
|
|
|
530
530
|
const authorizations = [];
|
|
531
531
|
const sapisidValue = cookies.sapisid || cookies.secure3Papisid;
|
|
532
532
|
if (sapisidValue) authorizations.push(makeSidAuth("SAPISIDHASH", sapisidValue, origin));
|
|
533
|
-
if (cookies.secure1Papisid) authorizations.push(makeSidAuth("SAPISID1PHASH", cookies.secure1Papisid, origin));
|
|
534
533
|
if (cookies.secure3Papisid) authorizations.push(makeSidAuth("SAPISID3PHASH", cookies.secure3Papisid, origin));
|
|
535
534
|
if (authorizations.length === 0) return;
|
|
536
535
|
const authHeader = authorizations.join(" ");
|