"use client"; import { useState } from "react"; import { StreamActionLog } from "yt-dlp-transcript-common/components/StreamActionLog"; import { cancelJobAction } from "../../../jobs/actions"; import { browserLookupAction } from "../browserLookupActions"; // THE BROWSER LOOKUP ON THE PLAYLIST STAGE (release 32 R9), for an Odysee // channel: the listing and a list of records read from the pages in a // headless browser, for when yt-dlp's lookup answers 429. Both are the // `browser-lookup` job (common/controller/browserLookupJob.ts). export function BrowserLookupSection({ slug }: { slug: string }) { const [scrolls, setScrolls] = useState("5"); const [ids, setIds] = useState(""); const idList = ids .split(/[\s,]+/) .map((s) => s.trim()) .filter(Boolean); const scrollCount = Math.min(40, Math.max(1, Math.floor(Number(scrolls) || 5))); return ( <>
Open the channel's Odysee page in a headless browser and add the uploads it shows to the playlist, newest first — for when Store playlist and Sync are refused. Nothing is removed and nothing is downloaded; the channel's title match filter applies.
Each video's Odysee page, one a minute: its record is written (or completed) with the media file the page's player asks for, which a stored-URL download then reads. Up to 50 ids.