remove bunch of verbose console.log
This commit is contained in:
parent
f60450d547
commit
9bfc47a198
1 changed files with 1 additions and 28 deletions
|
@ -53,29 +53,7 @@ dashManifest.get("/:videoId", async (c) => {
|
|||
) {
|
||||
return true;
|
||||
} else if (
|
||||
url.searchParams.has("xtags")
|
||||
) {
|
||||
if (
|
||||
i.itag ==
|
||||
Number(url.searchParams.get("itag")) &&
|
||||
url.searchParams.get("xtags")?.includes(
|
||||
i.language || "",
|
||||
) &&
|
||||
i.is_drc === url.search.includes("drc")
|
||||
) {
|
||||
return true;
|
||||
} else if (
|
||||
i.itag ==
|
||||
Number(url.searchParams.get("itag")) &&
|
||||
i.is_drc === url.search.includes("drc")
|
||||
) {
|
||||
return true;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
} else if (
|
||||
i.itag ==
|
||||
Number(url.searchParams.get("itag")) &&
|
||||
i.itag == Number(url.searchParams.get("itag")) &&
|
||||
i.is_drc === url.search.includes("drc")
|
||||
) {
|
||||
return true;
|
||||
|
@ -83,11 +61,6 @@ dashManifest.get("/:videoId", async (c) => {
|
|||
});
|
||||
if (selectedItagFormat) {
|
||||
let dashUrl = new URL(selectedItagFormat[0].url as string);
|
||||
if (url.toString().includes("140")) {
|
||||
console.log(url.toString());
|
||||
console.log(dashUrl.toString());
|
||||
console.log(selectedItagFormat[0]);
|
||||
}
|
||||
if (local) {
|
||||
// Can't create URL type without host part
|
||||
dashUrl =
|
||||
|
|
Loading…
Reference in a new issue