add vidsrc source+embed and StreamBucket embed

This commit is contained in:
Jonathan Barrow
2023-09-30 17:44:32 -04:00
parent c82a1f94b3
commit 849347afbe
19 changed files with 385 additions and 5 deletions

View File

@@ -65,6 +65,7 @@ export type IndividualEmbedRunnerOptions = {
url: string;
id: string;
events?: IndividualScraperEvents;
headers?: Record<string, string>;
};
export async function scrapeIndividualEmbed(
@@ -78,6 +79,7 @@ export async function scrapeIndividualEmbed(
fetcher: ops.fetcher,
proxiedFetcher: ops.proxiedFetcher,
url: ops.url,
headers: ops.headers,
progress(val) {
ops.events?.update?.({
id: embedScraper.id,