@mks2508/bundlp 0.1.28 → 0.1.29
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 +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -693,7 +693,7 @@ var InnerTubeClient = class {
|
|
|
693
693
|
];
|
|
694
694
|
constructor(config = {}) {
|
|
695
695
|
this.currentClient = config.initialClient || "WEB";
|
|
696
|
-
this.httpMode = config.httpMode || "
|
|
696
|
+
this.httpMode = config.httpMode || "impit";
|
|
697
697
|
log$8.info(`HTTP mode: ${this.httpMode}`);
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
@@ -2536,7 +2536,7 @@ async function extractVisitorData() {
|
|
|
2536
2536
|
headers["X-Goog-AuthUser"] = "0";
|
|
2537
2537
|
log$6.info("Added SAPISID auth to /tv request");
|
|
2538
2538
|
}
|
|
2539
|
-
const responseResult = await httpClient.
|
|
2539
|
+
const responseResult = await httpClient.getWithBrowserTLS(TV_PAGE_URL, { headers });
|
|
2540
2540
|
if (isErr(responseResult)) {
|
|
2541
2541
|
log$6.error("Failed to fetch /tv page:", responseResult.error.message);
|
|
2542
2542
|
return responseResult;
|