commit 8fed3bf441d8e7e6962e42e6c0302232ad547536
parent a24777f3764cbf1a12f6a3590829a0b45d0073f4
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Sun, 1 Nov 2026 23:12:56 -0500
Merge lane/rumble-defaults: a new Rumble channel is born with Firefox cookies, cookieMode always and --impersonate firefox (lib/rumbleDefaults.ts, the create action and the New channel form's prefill; a key sent blank stands), and a Rumble 403 on a channel missing one of those keys names which in the job's log
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
10 files changed, 262 insertions(+), 7 deletions(-)
diff --git a/common/lib/rumbleDefaults.test.ts b/common/lib/rumbleDefaults.test.ts
@@ -0,0 +1,43 @@
+// A new Rumble channel's defaults (lib/rumbleDefaults.ts).
+// Run with: pnpm --filter yt-dlp-transcript-common exec tsx --test lib/rumbleDefaults.test.ts
+
+import test from "node:test";
+import assert from "node:assert/strict";
+import type { ChannelConfig } from "./channelConfig";
+import { rumbleMissingKeys, withRumbleDefaults } from "./rumbleDefaults";
+
+const base: ChannelConfig = { name: "R", url: "https://rumble.com/c/r", platform: "rumble", handling: "youtube" } as ChannelConfig;
+
+test("a Rumble channel gets the three keys", () => {
+ const c = withRumbleDefaults(base);
+ assert.equal(c.cookiesFromBrowser, "firefox");
+ assert.equal(c.cookieMode, "always");
+ assert.deepEqual(c.ytdlpExtraArgs, ["--impersonate", "firefox"]);
+ assert.deepEqual(rumbleMissingKeys(c), []);
+});
+
+test("another platform is left alone", () => {
+ const yt = { ...base, platform: "youtube" } as ChannelConfig;
+ assert.deepEqual(withRumbleDefaults(yt), yt);
+});
+
+test("explicit values win; --impersonate is appended to given args and never duplicated", () => {
+ const c = withRumbleDefaults({ ...base, cookiesFromBrowser: "chrome", cookieMode: "when-required", ytdlpExtraArgs: ["--sleep-requests", "2"] });
+ assert.equal(c.cookiesFromBrowser, "chrome");
+ assert.equal(c.cookieMode, "when-required");
+ assert.deepEqual(c.ytdlpExtraArgs, ["--sleep-requests", "2", "--impersonate", "firefox"]);
+ const again = withRumbleDefaults(c);
+ assert.deepEqual(again.ytdlpExtraArgs, c.ytdlpExtraArgs);
+ const own = withRumbleDefaults({ ...base, ytdlpExtraArgs: ["--impersonate", "chrome"] });
+ assert.deepEqual(own.ytdlpExtraArgs, ["--impersonate", "chrome"]);
+});
+
+test("a key the request sent blank is none, not a default", () => {
+ const c = withRumbleDefaults(base, { cookiesFromBrowser: true, cookieMode: true, ytdlpExtraArgs: true });
+ assert.equal(c.cookiesFromBrowser, undefined);
+ assert.equal(c.cookieMode, undefined);
+ assert.equal(c.ytdlpExtraArgs, undefined);
+ // Extra args sent non-blank still gain the impersonation.
+ const g = withRumbleDefaults({ ...base, ytdlpExtraArgs: ["-v"] }, { ytdlpExtraArgs: true });
+ assert.deepEqual(g.ytdlpExtraArgs, ["-v", "--impersonate", "firefox"]);
+});
diff --git a/common/lib/rumbleDefaults.ts b/common/lib/rumbleDefaults.ts
@@ -0,0 +1,54 @@
+// WHAT A RUMBLE CHANNEL IS CREATED WITH. Rumble refuses yt-dlp without the
+// Firefox cookie jar and Firefox impersonation, and every working Rumble channel
+// carries the same three keys. They are the DEFAULT for a new Rumble channel
+// (2026-11-02), so a channel made from a bare Rumble URL works on its first
+// fetch instead of ending in a 403 nobody can explain.
+//
+// A default, never an override: a key the request SETS (a value, or "" meaning
+// none) is left alone. Only `--impersonate firefox` joins extra args that were
+// given — appended, never duplicated.
+import type { ChannelConfig } from "./channelConfig";
+
+export const RUMBLE_COOKIES_FROM_BROWSER = "firefox";
+export const RUMBLE_COOKIE_MODE = "always";
+export const RUMBLE_IMPERSONATE_ARGS: ReadonlyArray<string> = ["--impersonate", "firefox"];
+
+// The prose a missing key is reported with (serviceCookies' Rumble 403 line).
+export const RUMBLE_NEEDS_TEXT =
+ "Rumble needs cookies from firefox, cookieMode always and --impersonate firefox";
+
+// What of the three keys a Rumble channel's config lacks, as short phrases. The config is the
+// source of truth: a channel with cookiesFromBrowser "chrome" is not missing it.
+export function rumbleMissingKeys(
+ config: Pick<ChannelConfig, "cookiesFromBrowser" | "cookieMode" | "ytdlpExtraArgs">,
+): string[] {
+ const missing: string[] = [];
+ if (!config.cookiesFromBrowser?.trim()) missing.push("no cookiesFromBrowser");
+ if (config.cookieMode !== "always") missing.push(config.cookieMode ? `cookieMode ${config.cookieMode}` : "no cookieMode");
+ if (!hasImpersonate(config.ytdlpExtraArgs)) missing.push("no --impersonate in ytdlpExtraArgs");
+ return missing;
+}
+
+export function hasImpersonate(args: ReadonlyArray<string> | undefined): boolean {
+ return (args ?? []).some((a) => a === "--impersonate" || a.startsWith("--impersonate="));
+}
+
+// `explicit` names the keys the request set on purpose (present, even blank).
+// The default fills the others.
+export function withRumbleDefaults(
+ config: ChannelConfig,
+ explicit: { cookiesFromBrowser?: boolean; cookieMode?: boolean; ytdlpExtraArgs?: boolean } = {},
+): ChannelConfig {
+ if (config.platform !== "rumble") return config;
+ const next: ChannelConfig = { ...config };
+ if (!explicit.cookiesFromBrowser && !next.cookiesFromBrowser) {
+ next.cookiesFromBrowser = RUMBLE_COOKIES_FROM_BROWSER;
+ }
+ if (!explicit.cookieMode && !next.cookieMode) next.cookieMode = RUMBLE_COOKIE_MODE;
+ if (!explicit.ytdlpExtraArgs || (next.ytdlpExtraArgs?.length ?? 0) > 0) {
+ if (!hasImpersonate(next.ytdlpExtraArgs)) {
+ next.ytdlpExtraArgs = [...(next.ytdlpExtraArgs ?? []), ...RUMBLE_IMPERSONATE_ARGS];
+ }
+ }
+ return next;
+}
diff --git a/common/lib/serviceCookies-server.test.ts b/common/lib/serviceCookies-server.test.ts
@@ -7,7 +7,7 @@
import test from "node:test";
import assert from "node:assert/strict";
-import { mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
+import { mkdir, mkdtemp, readFile, rm, writeFile } from "node:fs/promises";
import os from "node:os";
import path from "node:path";
import { readFileSync } from "node:fs";
@@ -193,3 +193,37 @@ test("dismiss and re-run marks", async () => {
await rm(paths.transcriptsDir, { recursive: true, force: true });
}
});
+
+test("a Rumble listing 403 on a channel with no cookie config names the missing keys in the job's log; a configured one says nothing extra", async () => {
+ const paths = await tmpPaths();
+ try {
+ const dir = path.join(paths.channelsDir, "bare-rumble");
+ await mkdir(dir, { recursive: true });
+ await writeFile(path.join(dir, "config.json"), JSON.stringify({ name: "Bare", url: "https://rumble.com/c/bare", platform: "rumble", handling: "youtube" }));
+ const okDir = path.join(paths.channelsDir, "ok-rumble");
+ await mkdir(okDir, { recursive: true });
+ await writeFile(
+ path.join(okDir, "config.json"),
+ JSON.stringify({
+ name: "Ok",
+ url: "https://rumble.com/c/ok",
+ platform: "rumble",
+ handling: "youtube",
+ cookiesFromBrowser: "firefox",
+ cookieMode: "always",
+ ytdlpExtraArgs: ["--impersonate", "firefox"],
+ }),
+ );
+ const stderr = "ERROR: [RumbleChannel] bare: Unable to download webpage: HTTP Error 403: Forbidden";
+ const ctx = jobCtx("JOB2", "sync");
+ await runInJobContext(ctx, async () => {
+ await observeYtdlpServiceOutcome(paths, { url: "https://rumble.com/c/bare", channel: "bare-rumble", exitCode: 1, stderrTail: stderr });
+ await observeYtdlpServiceOutcome(paths, { url: "https://rumble.com/c/ok", channel: "ok-rumble", exitCode: 1, stderrTail: stderr });
+ });
+ assert.equal(ctx.lines.length, 1, ctx.lines.join(""));
+ assert.match(ctx.lines[0], /bare-rumble has no cookiesFromBrowser, no cookieMode, no --impersonate in ytdlpExtraArgs/);
+ assert.match(ctx.lines[0], /Rumble needs cookies from firefox, cookieMode always and --impersonate firefox/);
+ } finally {
+ await rm(paths.transcriptsDir, { recursive: true, force: true });
+ }
+});
diff --git a/common/lib/serviceCookies-server.ts b/common/lib/serviceCookies-server.ts
@@ -12,6 +12,7 @@
import path from "node:path";
import type { Paths } from "./paths";
+import type { ChannelConfig } from "./channelConfig";
import { readJsonFile, withJsonFileLock, writeJsonAtomic } from "./jsonFile-server";
import { currentJobContext } from "./jobContext";
import { getSettings } from "./settings";
@@ -28,6 +29,7 @@ import {
isYtdlpCookieService,
noteLastGood,
pruneServiceCookieState,
+ rumbleMissingConfigLine,
serviceCookieSignalFromStderr,
serviceLabel,
serviceStoppedLine,
@@ -177,6 +179,26 @@ async function cleanWouldChange(
// THE yt-dlp HOOK (ytdlp/runOneYtdlp.ts): one invocation's outcome for the
// service its URL is on. A non-zero exit whose stderr carries a cookie signal
// records it; a zero exit is a clean request. Never throws.
+// A Rumble 403 on a channel whose config lacks what Rumble needs: the job's
+// log names the missing keys (rumbleMissingConfigLine) instead of a bare exit
+// code. Reads the channel's config.json beside the transcripts; never throws.
+async function logRumbleConfigProblem(
+ paths: Pick<Paths, "transcriptsDir">,
+ stderr: string,
+ platform: string | null | undefined,
+ channel: string | undefined,
+): Promise<void> {
+ if (platform !== "rumble" || !channel) return;
+ try {
+ const read = await readJsonFile(path.join(paths.transcriptsDir, "channels", channel, "config.json"));
+ if (!read.ok || typeof read.value !== "object" || read.value === null) return;
+ const line = rumbleMissingConfigLine(stderr, channel, read.value as ChannelConfig);
+ if (line) currentJobContext()?.onLog(line);
+ } catch {
+ // bookkeeping only
+ }
+}
+
export async function observeYtdlpServiceOutcome(
paths: Pick<Paths, "transcriptsDir">,
run: { url: string; channel?: string; exitCode: number | null; stderrTail: string; aborted?: boolean },
@@ -192,6 +214,7 @@ export async function observeYtdlpServiceOutcome(
if (line) currentJobContext()?.onLog(line);
return;
}
+ await logRumbleConfigProblem(paths, run.stderrTail, platform, run.channel);
const signal = serviceCookieSignalFromStderr(run.stderrTail, platform);
if (!signal) return;
await noteServiceCookieSignal(paths, signal, {
@@ -210,7 +233,9 @@ export async function observeStderrServiceSignal(
stderr: string,
ctx: { url?: string; channel?: string; platform?: string | null } = {},
): Promise<void> {
- const signal = serviceCookieSignalFromStderr(stderr, ctx.platform ?? (ctx.url ? detectPlatform(ctx.url) : null));
+ const platform = ctx.platform ?? (ctx.url ? detectPlatform(ctx.url) : null);
+ await logRumbleConfigProblem(paths, stderr, platform, ctx.channel);
+ const signal = serviceCookieSignalFromStderr(stderr, platform);
if (!signal) return;
await noteServiceCookieSignal(paths, signal, {
...(ctx.url ? { url: ctx.url } : {}),
diff --git a/common/lib/serviceCookies.test.ts b/common/lib/serviceCookies.test.ts
@@ -23,6 +23,7 @@ import {
isServiceKey,
noteLastGood,
pruneServiceCookieState,
+ rumbleMissingConfigLine,
serviceCookieSignalFromStderr,
serviceFamily,
serviceFixText,
@@ -264,3 +265,21 @@ test("X is a cookie-alert service: key, label, family, fix; one challenge raises
assert.equal(view.alerts[0]?.canRecheck, true);
assert.match(view.alerts[0]?.headline ?? "", /^X needs fresh cookies: /);
});
+
+test("rumbleMissingConfigLine: names what the channel's config lacks on any Rumble 403, and nothing otherwise", () => {
+ const err = "ERROR: [RumbleChannel] x: Unable to download webpage: HTTP Error 403: Forbidden";
+ assert.match(
+ rumbleMissingConfigLine(err, "rekietalaw-rumble", {}) ?? "",
+ /^Rumble refused \(HTTP 403\): rekietalaw-rumble has no cookiesFromBrowser, no cookieMode, no --impersonate in ytdlpExtraArgs; Rumble needs cookies from firefox/,
+ );
+ // Only the missing part; a wrong mode is named with its value.
+ const partial = rumbleMissingConfigLine(err, "c", { cookiesFromBrowser: "firefox", cookieMode: "defer", ytdlpExtraArgs: ["--impersonate=firefox"] });
+ assert.match(partial ?? "", /c has cookieMode defer;/);
+ assert.equal(partial?.includes("cookiesFromBrowser"), false);
+ // Complete config, a non-Rumble line, a non-403, an unreadable config: no line.
+ const full = { cookiesFromBrowser: "firefox", cookieMode: "always" as const, ytdlpExtraArgs: ["--impersonate", "firefox"] };
+ assert.equal(rumbleMissingConfigLine(err, "c", full), null);
+ assert.equal(rumbleMissingConfigLine("ERROR: [youtube] abc: HTTP Error 403", "c", {}), null);
+ assert.equal(rumbleMissingConfigLine("ERROR: [RumbleChannel] x: HTTP Error 429", "c", {}), null);
+ assert.equal(rumbleMissingConfigLine(err, "c", null), null);
+});
diff --git a/common/lib/serviceCookies.ts b/common/lib/serviceCookies.ts
@@ -21,6 +21,8 @@
// moment Rumble answers cleanly.
import { isBotCheck } from "./availability";
+import type { ChannelConfig } from "./channelConfig";
+import { RUMBLE_NEEDS_TEXT, rumbleMissingKeys } from "./rumbleDefaults";
// "auth-failure": X's login refused or gone (gallery-dl's AuthRequired, a 401,
// "Could not authenticate you" — social/xGalleryDlSignals.ts). "jar-age": X's
@@ -193,6 +195,26 @@ export function serviceCookieSignalFromStderr(
return null;
}
+// ── a Rumble channel missing the config Rumble needs ─────────────────────
+
+// Any Rumble extractor's 403 ([RumbleChannel] a listing, [RumbleEmbed] an embed,
+// [Rumble] a page). A 403 alone is ambiguous (a removed video answers it too),
+// so this never raises an alert: it only NAMES the channel's own missing config
+// when there is some, in place of a bare exit code. The channel's config is the
+// source of truth (rumbleMissingKeys).
+const RUMBLE_ANY_403 = /\[Rumble(?:Channel|Embed)?\][^\n]*HTTP Error 403/;
+
+export function rumbleMissingConfigLine(
+ stderr: string,
+ slug: string,
+ config: Pick<ChannelConfig, "cookiesFromBrowser" | "cookieMode" | "ytdlpExtraArgs"> | null | undefined,
+): string | null {
+ if (!stderr || !config || !RUMBLE_ANY_403.test(stderr)) return null;
+ const missing = rumbleMissingKeys(config);
+ if (missing.length === 0) return null;
+ return `Rumble refused (HTTP 403): ${slug} has ${missing.join(", ")}; ${RUMBLE_NEEDS_TEXT} (Configure → Cookies from browser, Cookie mode, Extra yt-dlp args).`;
+}
+
// ── the state ─────────────────────────────────────────────────────────────
export type ServiceCookieJobRef = { id: string; kind?: string };
diff --git a/editor/app/api/ops/create-channel/route.ts b/editor/app/api/ops/create-channel/route.ts
@@ -30,6 +30,11 @@ export const dynamic = "force-dynamic";
// refuses: no name, a handling that is not "youtube" or "transcribe", a social
// URL with no derivable handle, a bad filter regex.
//
+// A Rumble channel (platform given or detected from the URL) gets Rumble's
+// defaults for cookiesFromBrowser ("firefox"), cookieMode ("always") and
+// ytdlpExtraArgs (--impersonate firefox) unless `fields` sets them; "" or []
+// means none.
+//
// The three start-something options are OFF unless asked for. The form ticks
// "Fetch playlist now" by default because a person creating a channel usually
// wants it; a script creating one says so. Any job they start comes back in
@@ -50,6 +55,12 @@ export async function POST(request: Request) {
}
const fd = new FormData();
applyChannelFormPatch(fd, fields as Record<string, unknown>);
+ // A blank cookie/extra-args value is an explicit "none": applyChannelFormPatch
+ // drops it, which would let a Rumble channel's defaults fill it back in.
+ for (const key of ["cookiesFromBrowser", "cookieMode", "ytdlpExtraArgs"]) {
+ const v = (fields as Record<string, unknown>)[key];
+ if (v === "" || (Array.isArray(v) && v.length === 0)) fd.set(key, "");
+ }
if (body.slug !== undefined) {
if (typeof body.slug !== "string") {
throw new OpsInputError('"slug" must be a string');
diff --git a/editor/app/channels/actions.ts b/editor/app/channels/actions.ts
@@ -1,5 +1,6 @@
"use server";
+import { withRumbleDefaults } from "yt-dlp-transcript-common/lib/rumbleDefaults";
import { revalidatePath } from "next/cache";
import { redirect } from "next/navigation";
import slugify from "@sindresorhus/slugify";
@@ -238,7 +239,16 @@ export async function createChannelFromForm(
} catch (e) {
return fail((e as Error).message);
}
- const { name, config } = parsed;
+ const { name } = parsed;
+ // A Rumble channel is born with the cookie and impersonation keys it needs
+ // (lib/rumbleDefaults.ts). A key the form or request SENT, even blank, is
+ // the operator's word and stands; the web form posts all three, prefilled
+ // for a Rumble URL, so only a request that omits one is defaulted here.
+ const config = withRumbleDefaults(parsed.config, {
+ cookiesFromBrowser: formData.has("cookiesFromBrowser"),
+ cookieMode: formData.has("cookieMode"),
+ ytdlpExtraArgs: formData.has("ytdlpExtraArgs"),
+ });
const slug = parsed.slug || slugify(name);
if (!slug) {
return fail("Could not derive a slug from the name");
diff --git a/editor/app/channels/components/ChannelForm.tsx b/editor/app/channels/components/ChannelForm.tsx
@@ -1,6 +1,11 @@
"use client";
-import { useEffect, useState } from "react";
+import { Fragment, useEffect, useState } from "react";
+import {
+ RUMBLE_COOKIES_FROM_BROWSER,
+ RUMBLE_COOKIE_MODE,
+ RUMBLE_IMPERSONATE_ARGS,
+} from "yt-dlp-transcript-common/lib/rumbleDefaults";
import slugify from "@sindresorhus/slugify";
import type { ChannelConfig } from "yt-dlp-transcript-common/lib/channelConfig";
import { AUDIO_CHECK_PLATFORMS } from "yt-dlp-transcript-common/lib/audioCheckPolicy";
@@ -224,6 +229,12 @@ export function ChannelForm({
// A Wayback pages channel (release 37): captures of pages, no fetcher; its
// scope is its targets.
const isWaybackPages = isEdit ? c?.platform === "webpage" : platform === "webpage";
+ // A new Rumble channel shows Rumble's cookie and impersonation defaults
+ // (lib/rumbleDefaults.ts) pre-filled; the fields below are remounted when
+ // this flips so the box shows what it would save. Edit mode shows the stored
+ // config as it is.
+ const isRumbleNew = !isEdit && (platform === "rumble" || (platform === "" && detectPlatform(url) === "rumble"));
+ const rumbleKey = isRumbleNew ? "rumble-defaults" : "plain";
const waybackHandle = (() => {
const t = waybackTargetFromUrl(url);
return t ? waybackTargetHost(t) : "";
@@ -944,6 +955,7 @@ export function ChannelForm({
</>
)}
<CollapsibleSection title="Advanced">
+ <Fragment key={rumbleKey}>
<label className="flex flex-col gap-1 text-sm">
<span className="font-medium">
Extra yt-dlp args
@@ -954,12 +966,13 @@ export function ChannelForm({
defaultValue={seedValue(
state,
"ytdlpExtraArgs",
- (c?.ytdlpExtraArgs ?? []).join("\n"),
+ (c?.ytdlpExtraArgs ?? (isRumbleNew ? RUMBLE_IMPERSONATE_ARGS : [])).join("\n"),
)}
rows={4}
className="rounded border border-border bg-card px-2 py-1 text-sm font-mono"
/>
</label>
+ </Fragment>
<label className="flex flex-col gap-1 text-sm">
<span className="font-medium">Downloads</span>
<SeededSelect
@@ -1077,11 +1090,12 @@ export function ChannelForm({
placeholder="(not a mirror)"
hint="For a channel that copies another creator's streams: the creator's channels here, by slug, separated by commas. The channel page then has a Mirror stage, where a scan pairs each video with the creator's and says which are the only copy left."
/>
+ <Fragment key={rumbleKey}>
<Field
label="Cookies from browser"
name="cookiesFromBrowser"
state={state}
- defaultValue={c?.cookiesFromBrowser ?? ""}
+ defaultValue={c?.cookiesFromBrowser ?? (isRumbleNew ? RUMBLE_COOKIES_FROM_BROWSER : "")}
placeholder="(inherit global)"
hint="Per-channel override of the global yt-dlp --cookies-from-browser browser spec (e.g. firefox, chrome:Default). Blank inherits the global value from /settings."
/>
@@ -1090,7 +1104,7 @@ export function ChannelForm({
<SeededSelect
state={state}
name="cookieMode"
- initial={c?.cookieMode ?? ""}
+ initial={c?.cookieMode ?? (isRumbleNew ? RUMBLE_COOKIE_MODE : "")}
aria-label="cookie mode"
className="rounded border border-border bg-card px-2 py-1 text-sm"
>
@@ -1112,6 +1126,7 @@ export function ChannelForm({
“Needs cookies” bucket on the Download stage.
</span>
</label>
+ </Fragment>
<label className="flex flex-col gap-1 text-sm">
<span className="font-medium">
Sleep between managed downloads
diff --git a/editor/app/channels/components/parseChannelForm.test.ts b/editor/app/channels/components/parseChannelForm.test.ts
@@ -387,3 +387,25 @@ test("downloadMode: manual is stored, automatic clears it, refused when unknown;
applyChannelFormPatch(back, { downloadMode: "" });
assert.equal("downloadMode" in parseChannelForm(back).config, false);
});
+
+// A Rumble URL with the platform on Auto is a rumble channel; the create action
+// then defaults the cookie and impersonation keys (lib/rumbleDefaults.ts), and a
+// key the form SENT, even blank, stands.
+test("a Rumble URL parses to platform rumble, and the create defaults fill what the form omitted", async () => {
+ const { withRumbleDefaults } = await import("yt-dlp-transcript-common/lib/rumbleDefaults");
+ const fd = form({ name: "Rekieta Law", handling: "youtube", url: "https://rumble.com/c/RekietaLaw" });
+ const parsed = parseChannelForm(fd);
+ assert.equal(parsed.config.platform, "rumble");
+ const made = withRumbleDefaults(parsed.config, {
+ cookiesFromBrowser: fd.has("cookiesFromBrowser"),
+ cookieMode: fd.has("cookieMode"),
+ ytdlpExtraArgs: fd.has("ytdlpExtraArgs"),
+ });
+ assert.equal(made.cookiesFromBrowser, "firefox");
+ assert.equal(made.cookieMode, "always");
+ assert.deepEqual(made.ytdlpExtraArgs, ["--impersonate", "firefox"]);
+ const blank = form({ name: "Rekieta Law", handling: "youtube", url: "https://rumble.com/c/RekietaLaw", cookiesFromBrowser: "", cookieMode: "", ytdlpExtraArgs: "" });
+ const none = withRumbleDefaults(parseChannelForm(blank).config, { cookiesFromBrowser: true, cookieMode: true, ytdlpExtraArgs: true });
+ assert.equal(none.cookiesFromBrowser, undefined);
+ assert.equal(none.ytdlpExtraArgs, undefined);
+});